summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit03e1b5ab5c712cc7f1f255168deaca5d31575de7 (patch)
treeb680b2f28e20115616e60170989e740c846e4b21 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
parent848c7d2e49c7e58d42c9784075b70fc8b57533bc (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud