MI != 0 is checked in the assert right above this.
authorChris Lattner <sabre@nondot.org>
Wed, 31 Mar 2010 05:42:48 +0000 (05:42 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 31 Mar 2010 05:42:48 +0000 (05:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99995 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfDebug.cpp

index 6422ec07285a6157a6d9d6fe1b1a033a9c991c6e..17550cb583f8629135eca92ac3b40b8b9c509158 100644 (file)
@@ -1246,7 +1246,7 @@ DbgScope *DwarfDebug::getUpdatedDbgScope(MDNode *N, const MachineInstr *MI,
                                          MDNode *InlinedAt) {
   assert(N && "Invalid Scope encoding!");
   assert(MI && "Missing machine instruction!");
-  bool GetConcreteScope = (MI && InlinedAt);
+  bool GetConcreteScope = InlinedAt != 0;
 
   DbgScope *NScope = NULL;