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 | ff741ab70975c266b3a4dd652b93cfc53bfbc8c3 (patch) | |
tree | 10c61b9e049e622d097d736fd68d276438b72cb7 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 14d750d0ad97a7d7fa76c0177327cda3f32f876f (diff) |
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 6422ec0728..17550cb583 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; |