Clean up cruft

llvm-svn: 5720
This commit is contained in:
Chris Lattner 2003-03-06 23:23:32 +00:00
parent 07a7a75331
commit 0509f2bb59

View File

@ -334,10 +334,7 @@ static void WriteConstantInt(ostream &Out, const Constant *CV, bool PrintName,
}
} 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);