Index: src/IceGlobalContext.h |
diff --git a/src/IceGlobalContext.h b/src/IceGlobalContext.h |
index 43f65ad8fe8a747cfddb85b2a0dd7faac3f59e18..6b3a17c1ab8e69890a6b5a2ac75dd983bdaa6ca8 100644 |
--- a/src/IceGlobalContext.h |
+++ b/src/IceGlobalContext.h |
@@ -113,13 +113,15 @@ public: |
// Manage Constants. |
// getConstant*() functions are not const because they might add |
// something to the constant pool. |
- Constant *getConstantInt32(Type Ty, uint32_t ConstantInt32); |
- Constant *getConstantInt64(Type Ty, uint64_t ConstantInt64); |
+ Constant *getConstantInt1(int8_t ConstantInt1); |
+ Constant *getConstantInt8(int8_t ConstantInt8); |
+ Constant *getConstantInt16(int16_t ConstantInt16); |
+ Constant *getConstantInt32(int32_t ConstantInt32); |
+ Constant *getConstantInt64(int64_t ConstantInt64); |
Constant *getConstantFloat(float Value); |
Constant *getConstantDouble(double Value); |
// Returns a symbolic constant. |
- Constant *getConstantSym(Type Ty, RelocOffsetT Offset, |
- const IceString &Name = "", |
+ Constant *getConstantSym(RelocOffsetT Offset, const IceString &Name = "", |
bool SuppressMangling = false); |
// Returns an undef. |
Constant *getConstantUndef(Type Ty); |