| Index: src/ic/arm64/handler-compiler-arm64.cc
|
| diff --git a/src/ic/arm64/handler-compiler-arm64.cc b/src/ic/arm64/handler-compiler-arm64.cc
|
| index 3986c0ed661b57714083445dfac3b64a743c6d8c..c5a925bf8a3837f85e36dc62e808dab6ba3852c5 100644
|
| --- a/src/ic/arm64/handler-compiler-arm64.cc
|
| +++ b/src/ic/arm64/handler-compiler-arm64.cc
|
| @@ -132,11 +132,12 @@ static void PushInterceptorArguments(MacroAssembler* masm, Register receiver,
|
|
|
| static void CompileCallLoadPropertyWithInterceptor(
|
| MacroAssembler* masm, Register receiver, Register holder, Register name,
|
| - Handle<JSObject> holder_obj, IC::UtilityId id) {
|
| + Handle<JSObject> holder_obj, Runtime::FunctionId id) {
|
| PushInterceptorArguments(masm, receiver, holder, name, holder_obj);
|
|
|
| - __ CallExternalReference(ExternalReference(IC_Utility(id), masm->isolate()),
|
| - NamedLoadHandlerCompiler::kInterceptorArgsLength);
|
| + __ CallExternalReference(
|
| + ExternalReference(Runtime::FunctionForId(id), masm->isolate()),
|
| + NamedLoadHandlerCompiler::kInterceptorArgsLength);
|
| }
|
|
|
|
|
| @@ -308,8 +309,8 @@ void NamedStoreHandlerCompiler::GenerateSlow(MacroAssembler* masm) {
|
|
|
| // The slow case calls into the runtime to complete the store without causing
|
| // an IC miss that would otherwise cause a transition to the generic stub.
|
| - ExternalReference ref =
|
| - ExternalReference(IC_Utility(IC::kStoreIC_Slow), masm->isolate());
|
| + ExternalReference ref = ExternalReference(
|
| + Runtime::FunctionForId(Runtime::kStoreIC_Slow), masm->isolate());
|
| __ TailCallExternalReference(ref, 3, 1);
|
| }
|
|
|
| @@ -323,8 +324,8 @@ void ElementHandlerCompiler::GenerateStoreSlow(MacroAssembler* masm) {
|
|
|
| // The slow case calls into the runtime to complete the store without causing
|
| // an IC miss that would otherwise cause a transition to the generic stub.
|
| - ExternalReference ref =
|
| - ExternalReference(IC_Utility(IC::kKeyedStoreIC_Slow), masm->isolate());
|
| + ExternalReference ref = ExternalReference(
|
| + Runtime::FunctionForId(Runtime::kKeyedStoreIC_Slow), masm->isolate());
|
| __ TailCallExternalReference(ref, 3, 1);
|
| }
|
|
|
| @@ -376,7 +377,8 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreInterceptor(
|
|
|
| // Do tail-call to the runtime system.
|
| ExternalReference store_ic_property = ExternalReference(
|
| - IC_Utility(IC::kStorePropertyWithInterceptor), isolate());
|
| + Runtime::FunctionForId(Runtime::kStorePropertyWithInterceptor),
|
| + isolate());
|
| __ TailCallExternalReference(store_ic_property, 3, 1);
|
|
|
| // Return the generated code.
|
| @@ -728,7 +730,7 @@ void NamedLoadHandlerCompiler::GenerateLoadInterceptorWithFollowup(
|
| // of this method.)
|
| CompileCallLoadPropertyWithInterceptor(
|
| masm(), receiver(), holder_reg, this->name(), holder(),
|
| - IC::kLoadPropertyWithInterceptorOnly);
|
| + Runtime::kLoadPropertyWithInterceptorOnly);
|
|
|
| // Check if interceptor provided a value for property. If it's
|
| // the case, return immediately.
|
| @@ -760,7 +762,7 @@ void NamedLoadHandlerCompiler::GenerateLoadInterceptor(Register holder_reg) {
|
| holder());
|
|
|
| ExternalReference ref = ExternalReference(
|
| - IC_Utility(IC::kLoadPropertyWithInterceptor), isolate());
|
| + Runtime::FunctionForId(Runtime::kLoadPropertyWithInterceptor), isolate());
|
| __ TailCallExternalReference(
|
| ref, NamedLoadHandlerCompiler::kInterceptorArgsLength, 1);
|
| }
|
| @@ -790,8 +792,8 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreCallback(
|
| __ Push(receiver(), holder_reg, scratch1(), scratch2(), value());
|
|
|
| // Do tail-call to the runtime system.
|
| - ExternalReference store_callback_property =
|
| - ExternalReference(IC_Utility(IC::kStoreCallbackProperty), isolate());
|
| + ExternalReference store_callback_property = ExternalReference(
|
| + Runtime::FunctionForId(Runtime::kStoreCallbackProperty), isolate());
|
| __ TailCallExternalReference(store_callback_property, 5, 1);
|
|
|
| // Return the generated code.
|
|
|