Index: src/IceTargetLoweringX8632.h |
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h |
index 74ba287767f2a99a0e6ffc3176d0c3e648f18ca3..920d4cdc9a3b032ef8ae5fbe1d1cfb5876fd6f94 100644 |
--- a/src/IceTargetLoweringX8632.h |
+++ b/src/IceTargetLoweringX8632.h |
@@ -161,11 +161,12 @@ protected: |
Variable *makeReg(Type Ty, int32_t RegNum = Variable::NoRegister); |
InstCall *makeHelperCall(const IceString &Name, Variable *Dest, |
SizeT MaxSrcs) { |
- bool SuppressMangling = true; |
- const Type FunctionPointerType = IceType_i32; |
- Constant *CallTarget = |
- Ctx->getConstantSym(FunctionPointerType, 0, Name, SuppressMangling); |
- InstCall *Call = InstCall::create(Func, MaxSrcs, Dest, CallTarget, false); |
+ const bool SuppressMangling = true; |
+ const bool HasTailCall = false; |
+ const RelocOffsetT Offset = 0; |
+ Constant *CallTarget = Ctx->getConstantSym(Offset, Name, SuppressMangling); |
+ InstCall *Call = |
+ InstCall::create(Func, MaxSrcs, Dest, CallTarget, HasTailCall); |
return Call; |
} |
static Type stackSlotType(); |