Index: src/objects-inl.h |
=================================================================== |
--- src/objects-inl.h (revision 622) |
+++ src/objects-inl.h (working copy) |
@@ -382,7 +382,7 @@ |
bool Object::IsGlobalObject() { |
if (!IsHeapObject()) return false; |
- InstanceType type = HeapObject::cast(this)->map()->instance_type(); |
+ InstanceType type = HeapObject::cast(this)->map()->instance_type(); |
return type == JS_GLOBAL_OBJECT_TYPE || |
type == JS_BUILTINS_OBJECT_TYPE; |
} |