Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 94edfa4aabd6eb9a859c9a22a3fc3326aa9d323f..f793e6e5d9efb0001967f3a2833d933259ec347c 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -29,7 +29,6 @@ namespace internal { |
V(CallConstruct) \ |
V(CallFunction) \ |
V(CallIC) \ |
- V(CallIC_Array) \ |
V(CEntry) \ |
V(CompareIC) \ |
V(DoubleToI) \ |
@@ -40,7 +39,6 @@ namespace internal { |
V(KeyedLoadICTrampoline) \ |
V(LoadICTrampoline) \ |
V(CallICTrampoline) \ |
- V(CallIC_ArrayTrampoline) \ |
V(LoadIndexedInterceptor) \ |
V(LoadIndexedString) \ |
V(MathPow) \ |
@@ -989,6 +987,7 @@ class CallICStub: public PlatformCodeStub { |
// Code generation helpers. |
void GenerateMiss(MacroAssembler* masm); |
+ void HandleArrayCase(MacroAssembler* masm, Label* miss); |
private: |
void PrintState(std::ostream& os) const override; // NOLINT |
@@ -998,20 +997,6 @@ class CallICStub: public PlatformCodeStub { |
}; |
-class CallIC_ArrayStub: public CallICStub { |
- public: |
- CallIC_ArrayStub(Isolate* isolate, const CallICState& state_in) |
- : CallICStub(isolate, state_in) {} |
- |
- InlineCacheState GetICState() const final { return MONOMORPHIC; } |
- |
- private: |
- void PrintState(std::ostream& os) const override; // NOLINT |
- |
- DEFINE_PLATFORM_CODE_STUB(CallIC_Array, CallICStub); |
-}; |
- |
- |
// TODO(verwaest): Translate to hydrogen code stub. |
class FunctionPrototypeStub : public PlatformCodeStub { |
public: |
@@ -2339,16 +2324,6 @@ class CallICTrampolineStub : public PlatformCodeStub { |
}; |
-class CallIC_ArrayTrampolineStub : public CallICTrampolineStub { |
- public: |
- CallIC_ArrayTrampolineStub(Isolate* isolate, const CallICState& state) |
- : CallICTrampolineStub(isolate, state) {} |
- |
- private: |
- DEFINE_PLATFORM_CODE_STUB(CallIC_ArrayTrampoline, CallICTrampolineStub); |
-}; |
- |
- |
class LoadICStub : public PlatformCodeStub { |
public: |
explicit LoadICStub(Isolate* isolate, const LoadICState& state) |