Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 2459cbb650e330a6a92c63078380cd992bab94bd..bf4eda19a507b083e87ff8b29ec20f4790cebbce 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -96,6 +96,7 @@ namespace internal { |
V(ProfileEntryHook) \ |
V(StoreGlobal) \ |
V(CallApiFunction) \ |
+ V(CallApiGetter) \ |
/* IC Handler stubs */ \ |
V(LoadField) \ |
V(KeyedLoadField) \ |
@@ -1044,6 +1045,19 @@ class CallApiFunctionStub : public PlatformCodeStub { |
}; |
+class CallApiGetterStub : public PlatformCodeStub { |
+ public: |
+ CallApiGetterStub() {} |
+ |
+ private: |
+ virtual void Generate(MacroAssembler* masm) V8_OVERRIDE; |
+ virtual Major MajorKey() V8_OVERRIDE { return CallApiGetter; } |
+ virtual int MinorKey() V8_OVERRIDE { return 0; } |
+ |
+ DISALLOW_COPY_AND_ASSIGN(CallApiGetterStub); |
+}; |
+ |
+ |
class KeyedLoadFieldStub: public LoadFieldStub { |
public: |
KeyedLoadFieldStub(bool inobject, int index, Representation representation) |