diff options
author | Eric Christopher <echristo@apple.com> | 2011-09-29 00:00:35 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2011-09-29 00:00:35 +0000 |
commit | 414ee4bb74957b4c5fe05e11848028e4701b51f7 (patch) | |
tree | a5f58544d6b27bde881585a321f390455a91a8bb /lib/CodeGen/CGStmt.cpp | |
parent | 441937c9be818279f68003071ea2cefc5da7d25d (diff) |
Call UpdateLineDirectiveRegion every time we want to emit a stop
point in the code. Ensures that we don't miss any places and the
check is reasonably cheap.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index 93763e3143..e070cc312a 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -35,7 +35,6 @@ void CodeGenFunction::EmitStopPoint(const Stmt *S) { DI->setLocation(S->getLocEnd()); else DI->setLocation(S->getLocStart()); - DI->UpdateLineDirectiveRegion(Builder); DI->EmitStopPoint(Builder); } } |