Index: src/IceTargetLowering.cpp |
diff --git a/src/IceTargetLowering.cpp b/src/IceTargetLowering.cpp |
index 2208753f9f094358dfe20da93441ff27c72544c2..6c569d84e65a891b5b0bbd5b233da7f3e2fcbb05 100644 |
--- a/src/IceTargetLowering.cpp |
+++ b/src/IceTargetLowering.cpp |
@@ -697,10 +697,10 @@ void TargetLowering::assignVarStackSlots(VarList &SortedSpilledVariables, |
} |
} |
-InstCall *TargetLowering::makeHelperCall(const IceString &Name, Variable *Dest, |
+InstCall *TargetLowering::makeHelperCall(RuntimeHelper FuncID, Variable *Dest, |
SizeT MaxSrcs) { |
constexpr bool HasTailCall = false; |
- Constant *CallTarget = Ctx->getConstantExternSym(Name); |
+ Constant *CallTarget = Ctx->getRuntimeHelperFunc(FuncID); |
InstCall *Call = |
InstCall::create(Func, MaxSrcs, Dest, CallTarget, HasTailCall); |
return Call; |