Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index d69e9263e14a12195031d4423e380dc9a16cf348..ef0682a74bfe58afa03ff031fff2d27f11cb3900 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -44,7 +44,6 @@ namespace internal { |
V(ProfileEntryHook) \ |
V(RecordWrite) \ |
V(RegExpExec) \ |
- V(StoreArrayLiteralElement) \ |
V(StoreBufferOverflow) \ |
V(StoreElement) \ |
V(StringCompare) \ |
@@ -1232,20 +1231,15 @@ class StoreTransitionHelper { |
} |
static Register SlotRegister() { |
- DCHECK(FLAG_vector_stores); |
return VectorStoreTransitionDescriptor::SlotRegister(); |
} |
static Register VectorRegister() { |
- DCHECK(FLAG_vector_stores); |
return VectorStoreTransitionDescriptor::VectorRegister(); |
} |
static Register MapRegister() { |
- if (FLAG_vector_stores) { |
- return VectorStoreTransitionDescriptor::MapRegister(); |
- } |
- return StoreTransitionDescriptor::MapRegister(); |
+ return VectorStoreTransitionDescriptor::MapRegister(); |
} |
static int ReceiverIndex() { |
@@ -1263,7 +1257,6 @@ class StoreTransitionHelper { |
} |
static int VectorIndex() { |
- DCHECK(FLAG_vector_stores); |
if (HasVirtualSlotArg()) { |
return VectorStoreTransitionDescriptor::kVirtualSlotVectorIndex; |
} |
@@ -1272,7 +1265,6 @@ class StoreTransitionHelper { |
// Some platforms don't have a slot arg. |
static bool HasVirtualSlotArg() { |
- if (!FLAG_vector_stores) return false; |
return SlotRegister().is(no_reg); |
} |
}; |
@@ -2566,10 +2558,7 @@ class StoreFastElementStub : public HydrogenCodeStub { |
} |
CallInterfaceDescriptor GetCallInterfaceDescriptor() const override { |
- if (FLAG_vector_stores) { |
- return VectorStoreICDescriptor(isolate()); |
- } |
- return StoreDescriptor(isolate()); |
+ return VectorStoreICDescriptor(isolate()); |
} |
Code::Kind GetCodeKind() const override { return Code::HANDLER; } |
@@ -2820,10 +2809,7 @@ class StoreElementStub : public PlatformCodeStub { |
} |
CallInterfaceDescriptor GetCallInterfaceDescriptor() const override { |
- if (FLAG_vector_stores) { |
- return VectorStoreICDescriptor(isolate()); |
- } |
- return StoreDescriptor(isolate()); |
+ return VectorStoreICDescriptor(isolate()); |
} |
Code::Kind GetCodeKind() const override { return Code::HANDLER; } |
@@ -2961,16 +2947,6 @@ class ElementsTransitionAndStoreStub : public HydrogenCodeStub { |
}; |
-class StoreArrayLiteralElementStub : public PlatformCodeStub { |
- public: |
- explicit StoreArrayLiteralElementStub(Isolate* isolate) |
- : PlatformCodeStub(isolate) { } |
- |
- DEFINE_CALL_INTERFACE_DESCRIPTOR(StoreArrayLiteralElement); |
- DEFINE_PLATFORM_CODE_STUB(StoreArrayLiteralElement, PlatformCodeStub); |
-}; |
- |
- |
class StubFailureTrampolineStub : public PlatformCodeStub { |
public: |
StubFailureTrampolineStub(Isolate* isolate, StubFunctionMode function_mode) |