Index: src/arm64/code-stubs-arm64.cc |
diff --git a/src/arm64/code-stubs-arm64.cc b/src/arm64/code-stubs-arm64.cc |
index da6bdb75c58fa180dcf5acb069d436ed57ae307e..aa612a17ceb20e1e46cbcc2a3040f784018f0561 100644 |
--- a/src/arm64/code-stubs-arm64.cc |
+++ b/src/arm64/code-stubs-arm64.cc |
@@ -2056,10 +2056,7 @@ void LoadIndexedInterceptorStub::Generate(MacroAssembler* masm) { |
// Everything is fine, call runtime. |
__ Push(receiver, key); |
- __ TailCallExternalReference( |
- ExternalReference(IC_Utility(IC::kLoadElementWithInterceptor), |
- masm->isolate()), |
- 2, 1); |
+ __ TailCallRuntime(Runtime::kLoadElementWithInterceptor, 2, 1); |
__ Bind(&slow); |
PropertyAccessCompiler::TailCallBuiltin( |
@@ -3305,11 +3302,10 @@ void CallICStub::GenerateMiss(MacroAssembler* masm) { |
__ Push(x1, x2, x3); |
// 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(x1, x0); |
@@ -3750,9 +3746,6 @@ void CompareICStub::GenerateMiss(MacroAssembler* masm) { |
Register stub_entry = x11; |
{ |
- ExternalReference miss = |
- ExternalReference(IC_Utility(IC::kCompareIC_Miss), isolate()); |
- |
FrameScope scope(masm, StackFrame::INTERNAL); |
Register op = x10; |
Register left = x1; |
@@ -3764,7 +3757,7 @@ void CompareICStub::GenerateMiss(MacroAssembler* masm) { |
__ Push(left, right, op); |
// Call the miss handler. This also pops the arguments. |
- __ CallExternalReference(miss, 3); |
+ __ CallRuntime(Runtime::kCompareIC_Miss, 3); |
// Compute the entry point of the rewritten stub. |
__ Add(stub_entry, x0, Code::kHeaderSize - kHeapObjectTag); |