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.

llvm-svn: 107356
This commit is contained in:
Daniel Dunbar
2010-07-01 00:16:31 +00:00
parent 8656a4549a
commit 3de064dfdf

View File

@@ -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");