mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
added std:: to cerr and endl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2914 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,6 +17,9 @@
|
|||||||
using std::map;
|
using std::map;
|
||||||
using std::pair;
|
using std::pair;
|
||||||
using std::make_pair;
|
using std::make_pair;
|
||||||
|
using std::vector;
|
||||||
|
using std::cerr;
|
||||||
|
using std::endl;
|
||||||
|
|
||||||
ConstantBool *ConstantBool::True = new ConstantBool(true);
|
ConstantBool *ConstantBool::True = new ConstantBool(true);
|
||||||
ConstantBool *ConstantBool::False = new ConstantBool(false);
|
ConstantBool *ConstantBool::False = new ConstantBool(false);
|
||||||
@@ -408,8 +411,8 @@ ConstantExpr::get(unsigned opCode, Constant *C, const Type *Ty) {
|
|||||||
if (opCode != Instruction::Cast &&
|
if (opCode != Instruction::Cast &&
|
||||||
(opCode < Instruction::FirstUnaryOp ||
|
(opCode < Instruction::FirstUnaryOp ||
|
||||||
opCode >= Instruction::NumUnaryOps)) {
|
opCode >= Instruction::NumUnaryOps)) {
|
||||||
cerr << "Invalid opcode " << ConstantExpr::getOpcodeName(opCode)
|
std::cerr << "Invalid opcode " << ConstantExpr::getOpcodeName(opCode)
|
||||||
<< " in unary constant expression" << endl;
|
<< " in unary constant expression" << std::endl;
|
||||||
return NULL; // Not Cast or other unary opcode
|
return NULL; // Not Cast or other unary opcode
|
||||||
}
|
}
|
||||||
// type of operand will not match result for Cast operation
|
// type of operand will not match result for Cast operation
|
||||||
|
Reference in New Issue
Block a user