diff options
author | Chris Lattner <sabre@nondot.org> | 2010-03-31 05:42:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-03-31 05:42:48 +0000 |
commit | 03e1b5ab5c712cc7f1f255168deaca5d31575de7 (patch) | |
tree | b680b2f28e20115616e60170989e740c846e4b21 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 848c7d2e49c7e58d42c9784075b70fc8b57533bc (diff) | |
download | bcm5719-llvm-03e1b5ab5c712cc7f1f255168deaca5d31575de7.tar.gz bcm5719-llvm-03e1b5ab5c712cc7f1f255168deaca5d31575de7.zip |
MI != 0 is checked in the assert right above this.
llvm-svn: 99995
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 6422ec07285..17550cb583f 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/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; |