aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-19 07:03:11 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-19 07:03:11 +0000
commit25b6ebf0f8c07514250ec76c987f84b6810d4d17 (patch)
tree25d0f5332d523ce86222a8bbf83199edd6ab3ca5 /lib/CodeGen/CGDecl.cpp
parentd286f05f1234bac289173f0eed88d7ecbaea0099 (diff)
Fix thinko.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76362 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDecl.cpp')
-rw-r--r--lib/CodeGen/CGDecl.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/CodeGen/CGDecl.cpp b/lib/CodeGen/CGDecl.cpp
index 6da8649b0a..47727f2d36 100644
--- a/lib/CodeGen/CGDecl.cpp
+++ b/lib/CodeGen/CGDecl.cpp
@@ -325,10 +325,7 @@ void CodeGenFunction::EmitLocalBlockVarDecl(const VarDecl &D) {
// Emit debug info for local var declaration.
if (CGDebugInfo *DI = getDebugInfo()) {
- // FIXME: Remove this once debug info isn't modeled as instructions.
- EnsureInsertPoint();
-
- EmitStopPoint(S);
+ assert(HaveInsertPoint() && "Unexpected unreachable point!");
DI->setLocation(D.getLocation());
if (Target.useGlobalsForAutomaticVariables()) {