Index: src/IceTargetLoweringX8632.h |
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h |
index 001f4e62aae2e53227ef325459b164c0922f6e23..208b554002ba68f4d743a8754640905ac8341dfb 100644 |
--- a/src/IceTargetLoweringX8632.h |
+++ b/src/IceTargetLoweringX8632.h |
@@ -130,8 +130,9 @@ protected: |
InstCall *makeHelperCall(const IceString &Name, Variable *Dest, |
SizeT MaxSrcs) { |
bool SuppressMangling = true; |
- Type Ty = Dest ? Dest->getType() : IceType_void; |
- Constant *CallTarget = Ctx->getConstantSym(Ty, 0, Name, SuppressMangling); |
+ const Type FunctionPointerType = IceType_i32; |
+ Constant *CallTarget = |
Jim Stichnoth
2014/07/14 19:44:17
This makes me a little nervous, based on previous
|
+ Ctx->getConstantSym(FunctionPointerType, 0, Name, SuppressMangling); |
InstCall *Call = InstCall::create(Func, MaxSrcs, Dest, CallTarget); |
return Call; |
} |