Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 1c598c731e8aae7825ac2e9a3f3aeb99aca9a15a..9061e44ea2f0e4aade1cd5dcf5a99f62faae0863 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -1884,6 +1884,11 @@ class JSObject: public JSReceiver { |
| #endif |
| Object* SlowReverseLookup(Object* value); |
| + // Getters and setters are stored in a fixed array property. |
| + // These are constants for their indices. |
| + static const int kGetterIndex; |
|
mnaganov (inactive)
2011/11/11 22:47:46
Please define values inline.
|
| + static const int kSetterIndex; |
| + |
| // Maximal number of fast properties for the JSObject. Used to |
| // restrict the number of map transitions to avoid an explosion in |
| // the number of maps for objects used as dictionaries. |