Index: src/ic/arm64/ic-arm64.cc |
diff --git a/src/ic/arm64/ic-arm64.cc b/src/ic/arm64/ic-arm64.cc |
index 3f80465de85798a05fa34c98829bf443f440de79..bffa603cb74c7b06dbb4c2504c52a3a900fb9ed4 100644 |
--- a/src/ic/arm64/ic-arm64.cc |
+++ b/src/ic/arm64/ic-arm64.cc |
@@ -8,6 +8,7 @@ |
#include "src/codegen.h" |
#include "src/ic/ic.h" |
+#include "src/ic/ic-compiler.h" |
#include "src/ic/stub-cache.h" |
namespace v8 { |
@@ -788,21 +789,6 @@ void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) { |
} |
-void KeyedStoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, |
- StrictMode strict_mode) { |
- ASM_LOCATION("KeyedStoreIC::GenerateRuntimeSetProperty"); |
- |
- // Push receiver, key and value for runtime call. |
- __ Push(ReceiverRegister(), NameRegister(), ValueRegister()); |
- |
- // Push strict_mode for runtime call. |
- __ Mov(x10, Smi::FromInt(strict_mode)); |
- __ Push(x10); |
- |
- __ TailCallRuntime(Runtime::kSetProperty, 4, 1); |
-} |
- |
- |
static void KeyedStoreGenerateGenericHelper( |
MacroAssembler* masm, Label* fast_object, Label* fast_double, Label* slow, |
KeyedStoreCheckMap check_map, KeyedStoreIncrementLength increment_length, |
@@ -989,7 +975,7 @@ void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm, |
// x0: value |
// x1: key |
// x2: receiver |
- GenerateRuntimeSetProperty(masm, strict_mode); |
+ PropertyICCompiler::GenerateRuntimeSetProperty(masm, strict_mode); |
__ Bind(&extra); |
@@ -1083,20 +1069,6 @@ void StoreIC::GenerateNormal(MacroAssembler* masm) { |
} |
-void StoreIC::GenerateRuntimeSetProperty(MacroAssembler* masm, |
- StrictMode strict_mode) { |
- ASM_LOCATION("StoreIC::GenerateRuntimeSetProperty"); |
- |
- __ Push(ReceiverRegister(), NameRegister(), ValueRegister()); |
- |
- __ Mov(x10, Smi::FromInt(strict_mode)); |
- __ Push(x10); |
- |
- // Do tail-call to runtime routine. |
- __ TailCallRuntime(Runtime::kSetProperty, 4, 1); |
-} |
- |
- |
void StoreIC::GenerateSlow(MacroAssembler* masm) { |
// ---------- S t a t e -------------- |
// -- x0 : value |