Benjamin Kramer
|
af2771b147
CodeGen: Move EHPersonality from CGException.h into the cpp file, it has no other users.
|
13 years ago |
Chris Lattner
|
8b418685e9
simplify a bunch of code to use the well-known LLVM IR types computed by CodeGenModule.
|
13 years ago |
David Blaikie
|
3026348bd4
More dead code removal (using -Wunreachable-code)
|
13 years ago |
John McCall
|
b29b12d494
When initializing a catch variable in ARC, be sure to emit retains
|
13 years ago |
Bill Wendling
|
cc1f918ed4
Don't get the exception obj from the slot more than once.
|
13 years ago |
Eli Friedman
|
d7722d9d76
Switch the Alignment argument on AggValueSlot over to CharUnits, per John's review comment.
|
13 years ago |
Eli Friedman
|
f394078fde
Track alignment in AggValueSlot. No functional change in this patch, but I'll be introducing uses of the specified alignment soon.
|
13 years ago |
John McCall
|
6f103ba42c
Whenever explicitly activating or deactivating a cleanup, we
|
13 years ago |
Bill Wendling
|
8990daf237
Don't remove filters.
|
14 years ago |
Bill Wendling
|
eecb6a1e8b
Don't assume that the clause is a GlobalVariable. It could be a constant.
|
14 years ago |
Bill Wendling
|
40ccaccd21
The eh.selector intrinsic isn't used anymore. Replace the check here with a
|
14 years ago |
Bill Wendling
|
285cfd8953
Throw the switch to convert clang to the new exception handling model!
|
14 years ago |
Bill Wendling
|
ae270598d5
Refactor the load of the exception pointer and the exception selector from their
|
14 years ago |
Douglas Gregor
|
bcfd1f55bf
Extend the ASTContext constructor to delay the initialization of
|
14 years ago |
Benjamin Kramer
|
74cfb23d44
Remove unused variables noticed by GCC.
|
14 years ago |
John McCall
|
1366862c3f
The allocated exception slot does not alias anything; should fix self-host.
|
14 years ago |
John McCall
|
7c2349be2d
Use stronger typing for the flags on AggValueSlot and require
|
14 years ago |
John McCall
|
777d6e56ad
Simplify EH control flow by observing that EH scopes form a simple
|
14 years ago |
Jay Foad
|
da549e8995
Remove some unnecessary single element array temporaries.
|
14 years ago |
Chris Lattner
|
5f9e272e63
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
|
14 years ago |
Chris Lattner
|
2acc6e3fed
de-constify llvm::Type, patch by David Blaikie!
|
14 years ago |
Jay Foad
|
4c7d9f1507
Convert CallInst and InvokeInst APIs to use ArrayRef.
|
14 years ago |
John McCall
|
ad346f4f67
Generalize Cleanup::Emit's "isForEH" parameter into a set
|
14 years ago |
John McCall
|
c4a1a8450a
Do full-expression cleanups in a much more sensible way that still lets
|
14 years ago |
John McCall
|
61c1601e2a
Use cached types; no functionality change.
|
14 years ago |
Chris Lattner
|
9cbe4f0ba0
clang side to match the LLVM IR type system rewrite patch.
|
14 years ago |
John McCall
|
256a76e0b0
Call objc_terminate() instead of abort() when a cleanup throws an
|
14 years ago |
Fariborz Jahanian
|
cf5abc7ba0
Support for catching objc pointer objects in c++ catch-statement
|
14 years ago |
Fariborz Jahanian
|
9d96bce991
Alloa catching Objective-C id's being thrown with C++ throw
|
14 years ago |
John McCall
|
d768e9d29a
Emit @finally blocks completely lazily instead of forcing their
|
14 years ago |