summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-07-07 22:26:07 +0000
committerReid Kleckner <reid@kleckner.net>2015-07-07 22:26:07 +0000
commit98cb8ba64cd6c225f767d79d670341e341c819db (patch)
treef88d1633de9d283aca2d9bcd70b39eff0c6ad896 /clang/lib/CodeGen/CodeGenFunction.cpp
parent60381791b50c82eb03eb3aae26c6dc3d52794c20 (diff)
downloadbcm5719-llvm-98cb8ba64cd6c225f767d79d670341e341c819db.tar.gz
bcm5719-llvm-98cb8ba64cd6c225f767d79d670341e341c819db.zip
Update clang for intrinsic rename of framerecover to localrecover
llvm-svn: 241634
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index c4288dd21a5..ec3c75ccd25 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -284,7 +284,7 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
Builder.ClearInsertionPoint();
}
- // If some of our locals escaped, insert a call to llvm.frameescape in the
+ // If some of our locals escaped, insert a call to llvm.localescape in the
// entry block.
if (!EscapedLocals.empty()) {
// Invert the map from local to index into a simple vector. There should be
@@ -294,7 +294,7 @@ void CodeGenFunction::FinishFunction(SourceLocation EndLoc) {
for (auto &Pair : EscapedLocals)
EscapeArgs[Pair.second] = Pair.first;
llvm::Function *FrameEscapeFn = llvm::Intrinsic::getDeclaration(
- &CGM.getModule(), llvm::Intrinsic::frameescape);
+ &CGM.getModule(), llvm::Intrinsic::localescape);
CGBuilderTy(AllocaInsertPt).CreateCall(FrameEscapeFn, EscapeArgs);
}
OpenPOWER on IntegriCloud