Index: src/arm/code-stubs-arm.cc |
diff --git a/src/arm/code-stubs-arm.cc b/src/arm/code-stubs-arm.cc |
index a3360ea2165ee332757b9a8d926c7c416cc3198f..297d1ea658aea4307be308cfd7637d997902926e 100644 |
--- a/src/arm/code-stubs-arm.cc |
+++ b/src/arm/code-stubs-arm.cc |
@@ -1837,10 +1837,7 @@ void LoadIndexedInterceptorStub::Generate(MacroAssembler* masm) { |
__ Push(receiver, key); // Receiver, key. |
// Perform tail call to the entry. |
- __ TailCallExternalReference( |
- ExternalReference(IC_Utility(IC::kLoadElementWithInterceptor), |
- masm->isolate()), |
- 2, 1); |
+ __ TailCallRuntime(Runtime::kLoadElementWithInterceptor, 2, 1); |
__ bind(&slow); |
PropertyAccessCompiler::TailCallBuiltin( |
@@ -2906,11 +2903,10 @@ void CallICStub::GenerateMiss(MacroAssembler* masm) { |
__ Push(r1, r2, r3); |
// Call the entry. |
- IC::UtilityId id = GetICState() == DEFAULT ? IC::kCallIC_Miss |
- : IC::kCallIC_Customization_Miss; |
- |
- ExternalReference miss = ExternalReference(IC_Utility(id), masm->isolate()); |
- __ CallExternalReference(miss, 3); |
+ Runtime::FunctionId id = GetICState() == DEFAULT |
+ ? Runtime::kCallIC_Miss |
+ : Runtime::kCallIC_Customization_Miss; |
+ __ CallRuntime(id, 3); |
// Move result to edi and exit the internal frame. |
__ mov(r1, r0); |
@@ -3821,15 +3817,12 @@ void CompareICStub::GenerateKnownObjects(MacroAssembler* masm) { |
void CompareICStub::GenerateMiss(MacroAssembler* masm) { |
{ |
// Call the runtime system in a fresh internal frame. |
- ExternalReference miss = |
- ExternalReference(IC_Utility(IC::kCompareIC_Miss), isolate()); |
- |
FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
__ Push(r1, r0); |
__ Push(lr, r1, r0); |
__ mov(ip, Operand(Smi::FromInt(op()))); |
__ push(ip); |
- __ CallExternalReference(miss, 3); |
+ __ CallRuntime(Runtime::kCompareIC_Miss, 3); |
// Compute the entry point of the rewritten stub. |
__ add(r2, r0, Operand(Code::kHeaderSize - kHeapObjectTag)); |
// Restore registers. |