Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index fbaee6b953dc5e6802618cd529efba418c3aba79..aecf86d5a3b969c60669c3a9581a560a75272b91 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -1886,6 +1886,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 = 0; |
|
mnaganov (inactive)
2011/11/14 11:04:24
Funny enough, your code wasn't compiling with gcc
|
| + static const int kSetterIndex = 1; |
| + |
| // 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. |