[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 6 17:24:01 PST 2003
Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.80 -> 1.81
---
Log message:
Clean up cruft
---
Diffs of the changes:
Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.80 llvm/lib/VMCore/AsmWriter.cpp:1.81
--- llvm/lib/VMCore/AsmWriter.cpp:1.80 Wed Nov 20 12:33:41 2002
+++ llvm/lib/VMCore/AsmWriter.cpp Thu Mar 6 17:23:32 2003
@@ -334,10 +334,7 @@
}
} else if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(CV)) {
- Out << CE->getOpcodeName();
-
- bool isGEP = CE->getOpcode() == Instruction::GetElementPtr;
- Out << " (";
+ Out << CE->getOpcodeName() << " (";
for (User::const_op_iterator OI=CE->op_begin(); OI != CE->op_end(); ++OI) {
printTypeInt(Out, (*OI)->getType(), TypeTable);
More information about the llvm-commits
mailing list