Skip to content
  • John McCall's avatar
    Teach IR generation how to lazily emit cleanups. This has a lot of advantages, · 2b7fc382
    John McCall authored
    mostly in avoiding unnecessary work at compile time but also in producing more
    sensible block orderings.
    
    Move the destructor cleanups for local variables over to use lazy cleanups.
    Eventually all cleanups will do this;  for now we have some awkward code
    duplication.
    
    Tell IR generation just to never produce landing pads in -fno-exceptions.
    This is a much more comprehensive solution to a problem which previously was
    half-solved by checks in most cleanup-generation spots.
    
    llvm-svn: 108270
    2b7fc382
Loading