diff options
author | Eric Christopher <echristo@apple.com> | 2012-04-10 05:04:07 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2012-04-10 05:04:07 +0000 |
commit | 2b124ea9d2c27c6d002ecd4623f6321e305d907e (patch) | |
tree | 2326ff9e0e2ea48c1cdfcebdf29720547ec85f1d /lib/CodeGen/CGStmt.cpp | |
parent | fc65ec83f6719f06e460b61f83a3ba1e80c18d04 (diff) |
EmitStopPoint already checks if we have debug info.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@154384 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGStmt.cpp')
-rw-r--r-- | lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGStmt.cpp b/lib/CodeGen/CGStmt.cpp index e82a15ef77..f442bc2367 100644 --- a/lib/CodeGen/CGStmt.cpp +++ b/lib/CodeGen/CGStmt.cpp @@ -778,7 +778,7 @@ void CodeGenFunction::EmitReturnStmt(const ReturnStmt &S) { void CodeGenFunction::EmitDeclStmt(const DeclStmt &S) { // As long as debug info is modeled with instructions, we have to ensure we // have a place to insert here and write the stop point here. - if (getDebugInfo() && HaveInsertPoint()) + if (HaveInsertPoint()) EmitStopPoint(&S); for (DeclStmt::const_decl_iterator I = S.decl_begin(), E = S.decl_end(); |