Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index ace4aae6142341012de8eb887ae2c3b1afc8b26c..915ec18bdb8d4005b5bbc26ef6befd7d359b9038 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -284,7 +284,6 @@ class CodeStub BASE_EMBEDDED { |
virtual InlineCacheState GetICState() const { return UNINITIALIZED; } |
virtual ExtraICState GetExtraICState() const { return kNoExtraICState; } |
- virtual Code::StubType GetStubType() const { return Code::NORMAL; } |
Code::Flags GetCodeFlags() const; |
@@ -579,8 +578,6 @@ class TurboFanCodeStub : public CodeStub { |
return GetCallInterfaceDescriptor().GetStackParameterCount(); |
} |
- Code::StubType GetStubType() const override { return Code::FAST; } |
- |
protected: |
explicit TurboFanCodeStub(Isolate* isolate) : CodeStub(isolate) {} |
@@ -1280,7 +1277,6 @@ class LoadIndexedStringStub : public PlatformCodeStub { |
: PlatformCodeStub(isolate) {} |
Code::Kind GetCodeKind() const override { return Code::HANDLER; } |
- Code::StubType GetStubType() const override { return Code::FAST; } |
DEFINE_CALL_INTERFACE_DESCRIPTOR(Load); |
DEFINE_PLATFORM_CODE_STUB(LoadIndexedString, PlatformCodeStub); |
@@ -1320,7 +1316,6 @@ class LoadFieldStub: public HandlerStub { |
protected: |
Code::Kind kind() const override { return Code::LOAD_IC; } |
- Code::StubType GetStubType() const override { return Code::FAST; } |
private: |
class LoadFieldByIndexBits : public BitField<int, 0, 13> {}; |
@@ -1346,7 +1341,6 @@ class ArrayBufferViewLoadFieldStub : public HandlerStub { |
protected: |
Code::Kind kind() const override { return Code::LOAD_IC; } |
- Code::StubType GetStubType() const override { return Code::FAST; } |
private: |
class ArrayBufferViewLoadFieldByIndexBits : public BitField<int, 0, 13> {}; |
@@ -1362,7 +1356,6 @@ class KeyedLoadSloppyArgumentsStub : public HandlerStub { |
protected: |
Code::Kind kind() const override { return Code::KEYED_LOAD_IC; } |
- Code::StubType GetStubType() const override { return Code::FAST; } |
private: |
DEFINE_HANDLER_CODE_STUB(KeyedLoadSloppyArguments, HandlerStub); |
@@ -1381,7 +1374,6 @@ class KeyedStoreSloppyArgumentsStub : public HandlerStub { |
protected: |
Code::Kind kind() const override { return Code::KEYED_STORE_IC; } |
- Code::StubType GetStubType() const override { return Code::FAST; } |
private: |
DEFINE_HANDLER_CODE_STUB(KeyedStoreSloppyArguments, HandlerStub); |
@@ -1401,7 +1393,6 @@ class LoadConstantStub : public HandlerStub { |
protected: |
Code::Kind kind() const override { return Code::LOAD_IC; } |
- Code::StubType GetStubType() const override { return Code::FAST; } |
private: |
class ConstantIndexBits : public BitField<int, 0, kSubMinorKeyBits> {}; |
@@ -1433,7 +1424,6 @@ class StoreFieldStub : public HandlerStub { |
protected: |
Code::Kind kind() const override { return Code::STORE_IC; } |
- Code::StubType GetStubType() const override { return Code::FAST; } |
private: |
class StoreFieldByIndexBits : public BitField<int, 0, 13> {}; |
@@ -1543,7 +1533,6 @@ class StoreTransitionStub : public HandlerStub { |
protected: |
Code::Kind kind() const override { return Code::STORE_IC; } |
- Code::StubType GetStubType() const override { return Code::FAST; } |
private: |
class StoreFieldByIndexBits : public BitField<int, 0, 13> {}; |
@@ -2497,8 +2486,6 @@ class ScriptContextFieldStub : public HandlerStub { |
class SlotIndexBits |
: public BitField<int, kContextIndexBits, kSlotIndexBits> {}; |
- Code::StubType GetStubType() const override { return Code::FAST; } |
- |
DEFINE_CODE_STUB_BASE(ScriptContextFieldStub, HandlerStub); |
}; |