From: Chris Lattner Date: Wed, 31 Mar 2010 05:42:48 +0000 (+0000) Subject: MI != 0 is checked in the assert right above this. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ff741ab70975c266b3a4dd652b93cfc53bfbc8c3;p=oota-llvm.git MI != 0 is checked in the assert right above this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99995 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 6422ec07285..17550cb583f 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -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;