Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 3134d4cee1a7bc45ef20b321dbff4bdc7cf783cb..12110a82204629858a64b554604cd91ed7b76829 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -67,7 +67,6 @@ class Node; |
/* These will be ported/eliminated */ \ |
/* as part of the new IC system, ask */ \ |
/* ishell before doing anything */ \ |
- V(LoadConstant) \ |
V(LoadField) \ |
/* These should never be ported to TF */ \ |
/* because they are either used only by */ \ |
@@ -1229,29 +1228,6 @@ class KeyedStoreSloppyArgumentsStub : public TurboFanCodeStub { |
DEFINE_TURBOFAN_CODE_STUB(KeyedStoreSloppyArguments, TurboFanCodeStub); |
}; |
- |
-class LoadConstantStub : public HandlerStub { |
- public: |
- LoadConstantStub(Isolate* isolate, int constant_index) |
- : HandlerStub(isolate) { |
- set_sub_minor_key(ConstantIndexBits::encode(constant_index)); |
- } |
- |
- int constant_index() const { |
- return ConstantIndexBits::decode(sub_minor_key()); |
- } |
- |
- protected: |
- Code::Kind kind() const override { return Code::LOAD_IC; } |
- |
- private: |
- class ConstantIndexBits : public BitField<int, 0, kSubMinorKeyBits> {}; |
- |
- // TODO(ishell): The stub uses only kReceiver parameter. |
- DEFINE_CALL_INTERFACE_DESCRIPTOR(LoadWithVector); |
- DEFINE_HANDLER_CODE_STUB(LoadConstant, HandlerStub); |
-}; |
- |
class LoadApiGetterStub : public TurboFanCodeStub { |
public: |
LoadApiGetterStub(Isolate* isolate, bool receiver_is_holder, int index) |