[llvm-commits] [llvm] r99995 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Chris Lattner
sabre at nondot.org
Tue Mar 30 22:42:48 PDT 2010
Author: lattner
Date: Wed Mar 31 00:42:48 2010
New Revision: 99995
URL: http://llvm.org/viewvc/llvm-project?rev=99995&view=rev
Log:
MI != 0 is checked in the assert right above this.
Modified:
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=99995&r1=99994&r2=99995&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Wed Mar 31 00:42:48 2010
@@ -1246,7 +1246,7 @@
MDNode *InlinedAt) {
assert(N && "Invalid Scope encoding!");
assert(MI && "Missing machine instruction!");
- bool GetConcreteScope = (MI && InlinedAt);
+ bool GetConcreteScope = InlinedAt != 0;
DbgScope *NScope = NULL;
More information about the llvm-commits
mailing list