aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-07-01 00:16:31 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-07-01 00:16:31 +0000
commit34161996e5bec20bcc3a97894a3a38f2d0f56c72 (patch)
treea7a1012b3de69ac4b268c569095e613f5793878a /lib/CodeGen/CodeGenFunction.cpp
parentbb3310a5fd9c08741b5272ed2665bdeab76a99a6 (diff)
Revert "IRgen: Make sure any prolog instructions get debug info.", the lexical
scope hasn't been set up yet so this isn't valid. It was just a cleanup to the IR, so I'm going to ignore it for now. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107356 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r--lib/CodeGen/CodeGenFunction.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp
index 85d25b411d..6df3af2b98 100644
--- a/lib/CodeGen/CodeGenFunction.cpp
+++ b/lib/CodeGen/CodeGenFunction.cpp
@@ -254,7 +254,6 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
if (CGDebugInfo *DI = getDebugInfo()) {
DI->setLocation(StartLoc);
DI->EmitFunctionStart(GD, FnType, CurFn, Builder);
- DI->EmitStopPoint(CurFn, Builder);
}
EmitFunctionInstrumentation("__cyg_profile_func_enter");