Chromium Code Reviews| Index: src/objects.h |
| =================================================================== |
| --- src/objects.h (revision 560) |
| +++ src/objects.h (working copy) |
| @@ -2784,6 +2784,9 @@ |
| // [global receiver]: the global receiver object of the context |
| DECL_ACCESSORS(global_receiver, JSObject) |
| + // Casting. |
| + static inline GlobalObject* cast(Object* obj); |
| + |
| // Layout description. |
| static const int kBuiltinsOffset = JSObject::kHeaderSize; |
| static const int kGlobalContextOffset = kBuiltinsOffset + kPointerSize; |