Depends on D15139.
Details
Diff Detail
Event Timeline
lib/CodeGen/CGCall.cpp | ||
---|---|---|
3482 | I guess we have a cleaner way of writing this: EHPersonality::get(*this).isMSVCXXPersonality() | |
lib/CodeGen/CGException.cpp | ||
899 | This creates one extra basic block per catch handler. Why not insert the catchpadinst directly into Handler.Block, emit Handler.Block, and add Handler.Block to the switch? If this disturbs the test cases too much, then we can punt on it for now. | |
909 | If we go with the suggestion above, we don't need this Br. | |
lib/CodeGen/MicrosoftCXXABI.cpp | ||
895–896 | If we emit the catchpadinst into Handler.Block, we can drop the 'getSinglePredecessor' call. |
I guess we have a cleaner way of writing this: