summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Verifier.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-01-13 01:51:34 +0000
committerReid Kleckner <reid@kleckner.net>2015-01-13 01:51:34 +0000
commit3542ace6ef36c15049e20cf17774ced0df8be741 (patch)
treee4179193a38f639f020a50d9243de9fbb1d783bc /llvm/lib/IR/Verifier.cpp
parent00a4a85d2bf78393a8615e8b94c4473dc2a0b2fa (diff)
downloadbcm5719-llvm-3542ace6ef36c15049e20cf17774ced0df8be741.tar.gz
bcm5719-llvm-3542ace6ef36c15049e20cf17774ced0df8be741.zip
Rename llvm.recoverframeallocation to llvm.framerecover
This name is less descriptive, but it sort of puts things in the 'llvm.frame...' namespace, relating it to frameallocate and frameaddress. It also avoids using "allocate" and "allocation" together. llvm-svn: 225752
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r--llvm/lib/IR/Verifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index 4a98b546099..e02b9e34fa6 100644
--- a/llvm/lib/IR/Verifier.cpp
+++ b/llvm/lib/IR/Verifier.cpp
@@ -2617,10 +2617,10 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) {
"llvm.frameallocate argument must be constant integer size", &CI);
break;
}
- case Intrinsic::recoverframeallocation: {
+ case Intrinsic::framerecover: {
Value *FnArg = CI.getArgOperand(0)->stripPointerCasts();
Function *Fn = dyn_cast<Function>(FnArg);
- Assert1(Fn && !Fn->isDeclaration(), "llvm.recoverframeallocation first "
+ Assert1(Fn && !Fn->isDeclaration(), "llvm.framerecover first "
"argument must be function defined in this module", &CI);
break;
}
OpenPOWER on IntegriCloud