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
This commit is contained in:
Chris Lattner 2010-03-31 05:42:48 +00:00
parent 14d750d0ad
commit ff741ab709

View 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;