summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2013-03-16 04:47:38 +0000
committerManman Ren <mren@apple.com>2013-03-16 04:47:38 +0000
commitc089074aa57af8cb9cbef1ba351e828c46bab603 (patch)
treeed80b5b100b6872c2e1aecf938819dccd4334484 /clang/lib/CodeGen/CodeGenFunction.cpp
parent612f7bfa4dddf8521663d8e9a60132f1dd5d3e0b (diff)
downloadbcm5719-llvm-c089074aa57af8cb9cbef1ba351e828c46bab603.tar.gz
bcm5719-llvm-c089074aa57af8cb9cbef1ba351e828c46bab603.zip
revert r177211 due to its potential issues
llvm-svn: 177222
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp
index 98a63464f95..27ef65fa94b 100644
--- a/clang/lib/CodeGen/CodeGenFunction.cpp
+++ b/clang/lib/CodeGen/CodeGenFunction.cpp
@@ -564,9 +564,6 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn,
SourceRange BodyRange;
if (Stmt *Body = FD->getBody()) BodyRange = Body->getSourceRange();
- // Reset CalleeWithThisReturn.
- CalleeWithThisReturn = 0;
-
// Emit the standard function prologue.
StartFunction(GD, ResTy, Fn, FnInfo, Args, BodyRange.getBegin());
@@ -618,8 +615,6 @@ void CodeGenFunction::GenerateCode(GlobalDecl GD, llvm::Function *Fn,
// Emit the standard function epilogue.
FinishFunction(BodyRange.getEnd());
- // Reset CalleeWithThisReturn.
- CalleeWithThisReturn = 0;
// If we haven't marked the function nothrow through other means, do
// a quick pass now to see if we can.
OpenPOWER on IntegriCloud