Lines Matching refs:object
48 GlobalObject* object = global();
49 if (object->IsJSGlobalObject()) {
50 return JSGlobalObject::cast(object)->builtins();
52 ASSERT(object->IsJSBuiltinsObject());
53 return JSBuiltinsObject::cast(object);
59 // Fast case: the global object for this context has been set. In
60 // that case, the global object has a direct pointer to the global
66 // During bootstrapping, the global object might not be set and we
82 void Context::set_global_proxy(JSObject* object) {
83 global_context()->set_global_proxy_object(object);
87 Handle<Object> Context::Lookup(Handle<String> name,
117 Handle<JSObject> object(JSObject::cast(context->extension()), isolate);
122 object->IsJSContextExtensionObject()) {
123 *attributes = object->GetLocalPropertyAttribute(*name);
125 *attributes = object->GetPropertyAttribute(*name);
129 PrintF("=> found property in context object %p\n",
130 reinterpret_cast<void*>(*object));
132 return object;
239 return Handle<Object>::null();
246 Object* element = get(OPTIMIZED_FUNCTIONS_LIST);
256 Object* context = GetHeap()->global_contexts_list();
273 Object* element = get(OPTIMIZED_FUNCTIONS_LIST);
295 Object* Context::OptimizedFunctionsListHead() {
307 bool Context::IsBootstrappingOrContext(Object* object) {
310 return Isolate::Current()->bootstrapper()->IsActive() || object->IsContext();
314 bool Context::IsBootstrappingOrGlobalObject(Object* object) {
320 object->IsGlobalObject();