summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-27 06:11:03 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-27 06:11:03 +0000
commitba198e661e453b548271d7e8a15fc5f252db1010 (patch)
tree80231ecf81300bbd45cd6a34f804d6db974e88bf /llvm/lib
parent5c29ebae8e9ae051f8d7f27baad53095dd1631df (diff)
downloadbcm5719-llvm-ba198e661e453b548271d7e8a15fc5f252db1010.tar.gz
bcm5719-llvm-ba198e661e453b548271d7e8a15fc5f252db1010.zip
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. llvm-svn: 138702
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/AsmParser/LLParser.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/AsmParser/LLParser.cpp b/llvm/lib/AsmParser/LLParser.cpp
index 395d684c3de..4d233cab6fb 100644
--- a/llvm/lib/AsmParser/LLParser.cpp
+++ b/llvm/lib/AsmParser/LLParser.cpp
@@ -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;
OpenPOWER on IntegriCloud