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 | 3910ec96cbd009165183d01dfb61301995962481 (patch) | |
tree | 78795596d169347a34d25d44300d762a35cafbc4 | |
parent | cdbde6973afd68f4675a79872a81fe1108f4d23f (diff) | |
download | bcm5719-llvm-3910ec96cbd009165183d01dfb61301995962481.tar.gz bcm5719-llvm-3910ec96cbd009165183d01dfb61301995962481.zip |
EmitStopPoint already checks if we have debug info.
llvm-svn: 154384
-rw-r--r-- | clang/lib/CodeGen/CGStmt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGStmt.cpp b/clang/lib/CodeGen/CGStmt.cpp index e82a15ef777..f442bc23672 100644 --- a/clang/lib/CodeGen/CGStmt.cpp +++ b/clang/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(); |