From ff741ab70975c266b3a4dd652b93cfc53bfbc8c3 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 31 Mar 2010 05:42:48 +0000 Subject: [PATCH] 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 --- lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.34.1