Index: src/ic/x64/handler-compiler-x64.cc |
diff --git a/src/ic/x64/handler-compiler-x64.cc b/src/ic/x64/handler-compiler-x64.cc |
index 1490c921fc3e1890b33f66418f2f3d484ca65601..fe6d168b52813ad37c38b6ee9d1e698654191a3b 100644 |
--- a/src/ic/x64/handler-compiler-x64.cc |
+++ b/src/ic/x64/handler-compiler-x64.cc |
@@ -304,26 +304,13 @@ |
Register name = StoreDescriptor::NameRegister(); |
Register value = StoreDescriptor::ValueRegister(); |
- if (FLAG_vector_stores) { |
- Register slot = VectorStoreICDescriptor::SlotRegister(); |
- Register vector = VectorStoreICDescriptor::VectorRegister(); |
- |
- __ PopReturnAddressTo(r11); |
- __ Push(receiver); |
- __ Push(name); |
- __ Push(value); |
- __ Push(slot); |
- __ Push(vector); |
- __ PushReturnAddressFrom(r11); |
- } else { |
- DCHECK(!rbx.is(receiver) && !rbx.is(name) && !rbx.is(value)); |
- |
- __ PopReturnAddressTo(rbx); |
- __ Push(receiver); |
- __ Push(name); |
- __ Push(value); |
- __ PushReturnAddressFrom(rbx); |
- } |
+ DCHECK(!rbx.is(receiver) && !rbx.is(name) && !rbx.is(value)); |
+ |
+ __ PopReturnAddressTo(rbx); |
+ __ Push(receiver); |
+ __ Push(name); |
+ __ Push(value); |
+ __ PushReturnAddressFrom(rbx); |
} |
@@ -332,7 +319,7 @@ |
StoreIC_PushArgs(masm); |
// Do tail-call to runtime routine. |
- __ TailCallRuntime(Runtime::kStoreIC_Slow, FLAG_vector_stores ? 5 : 3, 1); |
+ __ TailCallRuntime(Runtime::kStoreIC_Slow, 3, 1); |
} |
@@ -341,8 +328,7 @@ |
StoreIC_PushArgs(masm); |
// Do tail-call to runtime routine. |
- __ TailCallRuntime(Runtime::kKeyedStoreIC_Slow, FLAG_vector_stores ? 5 : 3, |
- 1); |
+ __ TailCallRuntime(Runtime::kKeyedStoreIC_Slow, 3, 1); |
} |
@@ -589,7 +575,6 @@ |
Label success; |
__ jmp(&success); |
GenerateRestoreName(miss, name); |
- if (IC::ICUseVector(kind())) PopVectorAndSlot(); |
TailCallBuiltin(masm(), MissBuiltin(kind())); |
__ bind(&success); |
} |