Skip to content
  • Duncan Sands's avatar
    The exception handling intrinsics return values, · 9d974204
    Duncan Sands authored
    so must be lowered to a value, not nothing at all.
    Subtle point: I made eh_selector return 0 and
    eh_typeid_for return 1.  This means that only
    cleanups (destructors) will be run as the exception
    unwinds [if eh_typeid_for returned 0 then it would
    be as if the first catch always matched, and the
    corresponding handler would be run], which is
    probably want you want in the CBE.
    
    llvm-svn: 37947
    9d974204
Loading