remove some unneeded overloads that were causing

ambiguity problems on some systems.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108462 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2010-07-15 21:24:02 +00:00
parent 6a624a65f4
commit 34068cb96f

View File

@ -164,41 +164,21 @@ public:
return ConstantInt::getFalse(Context);
}
/// getInt8 - Get a constant 8-bit value.
ConstantInt *getInt8(int8_t C) {
return ConstantInt::getSigned(getInt8Ty(), C);
}
/// getInt8 - Get a constant 8-bit value.
ConstantInt *getInt8(uint8_t C) {
return ConstantInt::get(getInt8Ty(), C);
}
/// getInt16 - Get a constant 16-bit value.
ConstantInt *getInt16(int16_t C) {
return ConstantInt::getSigned(getInt16Ty(), C);
}
/// getInt16 - Get a constant 16-bit value.
ConstantInt *getInt16(uint16_t C) {
return ConstantInt::get(getInt16Ty(), C);
}
/// getInt32 - Get a constant 32-bit value.
ConstantInt *getInt32(int32_t C) {
return ConstantInt::getSigned(getInt32Ty(), C);
}
/// getInt32 - Get a constant 32-bit value.
ConstantInt *getInt32(uint32_t C) {
return ConstantInt::get(getInt32Ty(), C);
}
/// getInt64 - Get a constant 64-bit value.
ConstantInt *getInt64(int64_t C) {
return ConstantInt::getSigned(getInt64Ty(), C);
}
/// getInt64 - Get a constant 64-bit value.
ConstantInt *getInt64(uint64_t C) {
return ConstantInt::get(getInt64Ty(), C);