Changes in directory llvm/lib/CodeGen:
AsmPrinter.cpp updated: 1.101 -> 1.102 --- Log message: simplify code --- Diffs of the changes: (+1 -1) AsmPrinter.cpp | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/AsmPrinter.cpp diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.101 llvm/lib/CodeGen/AsmPrinter.cpp:1.102 --- llvm/lib/CodeGen/AsmPrinter.cpp:1.101 Tue Sep 26 19:06:07 2006 +++ llvm/lib/CodeGen/AsmPrinter.cpp Thu Sep 28 18:17:41 2006 @@ -364,7 +364,7 @@ if (CV->isNullValue() || isa<UndefValue>(CV)) O << "0"; else if (const ConstantBool *CB = dyn_cast<ConstantBool>(CV)) { - assert(CB == ConstantBool::True); + assert(CB->getValue()); O << "1"; } else if (const ConstantSInt *CI = dyn_cast<ConstantSInt>(CV)) if (((CI->getValue() << 32) >> 32) == CI->getValue()) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits