aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-03-31 05:42:48 +0000
committerChris Lattner <sabre@nondot.org>2010-03-31 05:42:48 +0000
commitff741ab70975c266b3a4dd652b93cfc53bfbc8c3 (patch)
tree10c61b9e049e622d097d736fd68d276438b72cb7 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent14d750d0ad97a7d7fa76c0177327cda3f32f876f (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.cpp2
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;