Index: src/stub-cache.h |
diff --git a/src/stub-cache.h b/src/stub-cache.h |
index 141e5677b953d33861a9b95a55bf9b32f31b44e1..c2ff18acc1a5f3428e8ee3772f0d1d38dec624a4 100644 |
--- a/src/stub-cache.h |
+++ b/src/stub-cache.h |
@@ -408,6 +408,16 @@ class StubCache { |
Heap* heap() { return isolate()->heap(); } |
Factory* factory() { return isolate()->factory(); } |
+ // These constants describe the structure of the interceptor arguments on the |
+ // stack. The arguments are pushed by the (platform-specific) |
+ // PushInterceptorArguments and read by LoadPropertyWithInterceptorOnly and |
+ // LoadWithInterceptor. |
+ static const int kInterceptorArgsNameIndex = 0; |
+ static const int kInterceptorArgsInfoIndex = 1; |
+ static const int kInterceptorArgsThisIndex = 2; |
+ static const int kInterceptorArgsHolderIndex = 3; |
+ static const int kInterceptorArgsLength = 4; |
+ |
private: |
explicit StubCache(Isolate* isolate); |