Index: src/IceTargetLoweringX8632.h |
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h |
index 74ba287767f2a99a0e6ffc3176d0c3e648f18ca3..c5440270eddaefaf8c252b9d9e029af0989c6071 100644 |
--- a/src/IceTargetLoweringX8632.h |
+++ b/src/IceTargetLoweringX8632.h |
@@ -162,9 +162,7 @@ protected: |
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); |
+ Constant *CallTarget = Ctx->getConstantSym(0, Name, SuppressMangling); |
InstCall *Call = InstCall::create(Func, MaxSrcs, Dest, CallTarget, false); |
return Call; |
} |