Skip to content

Commit

Permalink
MI != 0 is checked in the assert right above this.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99995 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Mar 31, 2010
1 parent 14d750d commit ff741ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ff741ab

Please sign in to comment.