Satisfy sub-optimal GCC warning.
[oota-llvm.git] / lib / CodeGen / AsmPrinter / DwarfDebug.cpp
index 2dc539ed9cca3c847206cebc046b75ff8fb6ded0..fcb8ee1fb70c6c6a5a3c789ce09dc6873c708e45 100644 (file)
@@ -590,10 +590,10 @@ std::unique_ptr<DIE> DwarfDebug::constructScopeDIE(DwarfCompileUnit &TheCU,
 
   DIScope DS(Scope->getScopeNode());
 
-  assert(Scope->getInlinedAt() ||
-         (!DS.isSubprogram() && "Only handle inlined subprograms here, use "
-                                "constructSubprogramScopeDIE for non-inlined "
-                                "subprograms"));
+  assert((Scope->getInlinedAt() || !DS.isSubprogram()) &&
+         "Only handle inlined subprograms here, use "
+         "constructSubprogramScopeDIE for non-inlined "
+         "subprograms");
 
   SmallVector<std::unique_ptr<DIE>, 8> Children;