Chromium Code Reviews| Index: src/stub-cache.h |
| diff --git a/src/stub-cache.h b/src/stub-cache.h |
| index 12afdd3ab0251df4be97af946c499b7604dc3d30..07a315a05ae84d59a3345c181faef17f756ee8ec 100644 |
| --- a/src/stub-cache.h |
| +++ b/src/stub-cache.h |
| @@ -408,6 +408,12 @@ class StubCache { |
| Heap* heap() { return isolate()->heap(); } |
| Factory* factory() { return isolate()->factory(); } |
| + static const int kInterceptorArgsNameIndex = 0; |
|
Michael Starzinger
2013/09/11 16:52:26
nit: Maybe even add a short one-line comment above
marja
2013/09/12 08:12:51
Done.
|
| + 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); |
| @@ -612,7 +618,6 @@ class StubCompiler BASE_EMBEDDED { |
| Label* miss, |
| PrototypeCheckType check = CHECK_ALL_MAPS); |
| - |
| protected: |
| Handle<Code> GetCodeWithFlags(Code::Flags flags, const char* name); |
| Handle<Code> GetCodeWithFlags(Code::Flags flags, Handle<Name> name); |