Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 6ce369dd089742d1d00ee6a3a4604ce139d1db98..424026f40b24b27390278541d7b35f341017548d 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -88,7 +88,6 @@ |
V(VectorRawKeyedLoad) \ |
V(VectorRawLoad) \ |
/* IC Handler stubs */ \ |
- V(ArrayBufferViewLoadField) \ |
V(LoadConstant) \ |
V(LoadField) \ |
V(KeyedLoadSloppyArguments) \ |
@@ -974,32 +973,6 @@ |
}; |
-class ArrayBufferViewLoadFieldStub : public HandlerStub { |
- public: |
- ArrayBufferViewLoadFieldStub(Isolate* isolate, FieldIndex index) |
- : HandlerStub(isolate) { |
- int property_index_key = index.GetFieldAccessStubKey(); |
- set_sub_minor_key( |
- ArrayBufferViewLoadFieldByIndexBits::encode(property_index_key)); |
- } |
- |
- FieldIndex index() const { |
- int property_index_key = |
- ArrayBufferViewLoadFieldByIndexBits::decode(sub_minor_key()); |
- return FieldIndex::FromFieldAccessStubKey(property_index_key); |
- } |
- |
- 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> {}; |
- |
- DEFINE_HANDLER_CODE_STUB(ArrayBufferViewLoadField, HandlerStub); |
-}; |
- |
- |
class KeyedLoadSloppyArgumentsStub : public HandlerStub { |
public: |
explicit KeyedLoadSloppyArgumentsStub(Isolate* isolate) |