mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Auto upgrade the old EH scheme to use the new one. This is on a trial basis. If
things to disasterously over night, this can be reverted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -120,6 +120,9 @@ bool LLParser::ValidateEndOfModule() {
|
||||
for (Module::iterator FI = M->begin(), FE = M->end(); FI != FE; )
|
||||
UpgradeCallsToIntrinsic(FI++); // must be post-increment, as we remove
|
||||
|
||||
// Upgrade to new EH scheme. N.B. This will go away in 3.1.
|
||||
UpgradeExceptionHandling(M);
|
||||
|
||||
// Check debug info intrinsics.
|
||||
CheckDebugInfoIntrinsics(M);
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user