Chromium Code Reviews| 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..cde3043834bd2f8179557895d654acf28ab3e070 100644 |
| --- a/src/arm64/code-stubs-arm64.cc |
| +++ b/src/arm64/code-stubs-arm64.cc |
| @@ -2057,8 +2057,9 @@ void LoadIndexedInterceptorStub::Generate(MacroAssembler* masm) { |
| // Everything is fine, call runtime. |
| __ Push(receiver, key); |
| __ TailCallExternalReference( |
|
Yang
2015/07/23 12:00:49
Maybe use TailCallRuntime instead.
|
| - ExternalReference(IC_Utility(IC::kLoadElementWithInterceptor), |
| - masm->isolate()), |
| + ExternalReference( |
| + Runtime::FunctionForId(Runtime::kLoadElementWithInterceptor), |
| + masm->isolate()), |
| 2, 1); |
| __ Bind(&slow); |
| @@ -3305,10 +3306,12 @@ void CallICStub::GenerateMiss(MacroAssembler* masm) { |
| __ Push(x1, x2, x3); |
| // Call the entry. |
| - IC::UtilityId id = GetICState() == DEFAULT ? IC::kCallIC_Miss |
| - : IC::kCallIC_Customization_Miss; |
| + Runtime::FunctionId id = GetICState() == DEFAULT |
| + ? Runtime::kCallIC_Miss |
| + : Runtime::kCallIC_Customization_Miss; |
| - ExternalReference miss = ExternalReference(IC_Utility(id), masm->isolate()); |
| + ExternalReference miss = |
| + ExternalReference(Runtime::FunctionForId(id), masm->isolate()); |
| __ CallExternalReference(miss, 3); |
| // Move result to edi and exit the internal frame. |
| @@ -3750,8 +3753,8 @@ void CompareICStub::GenerateMiss(MacroAssembler* masm) { |
| Register stub_entry = x11; |
| { |
| - ExternalReference miss = |
| - ExternalReference(IC_Utility(IC::kCompareIC_Miss), isolate()); |
| + ExternalReference miss = ExternalReference( |
| + Runtime::FunctionForId(Runtime::kCompareIC_Miss), isolate()); |
| FrameScope scope(masm, StackFrame::INTERNAL); |
| Register op = x10; |