Lines Matching defs:object
127 HeapObject object = extension();
128 if (object.IsUndefined()) return JSObject();
129 DCHECK(object.IsJSContextExtensionObject() ||
130 (IsNativeContext() && object.IsJSGlobalObject()));
131 return JSObject::cast(object);
165 * Lookups a property in an object environment, taking the unscopables into
235 Handle<JSReceiver> object(context->extension_receiver(), isolate);
266 object->IsJSContextExtensionObject()) {
267 maybe = JSReceiver::GetOwnPropertyAttributes(object, name);
280 LookupIterator it(isolate, object, name, object);
299 PrintF("=> found property in context object %p\n",
300 reinterpret_cast<void*>(object->ptr()));
302 return object;
503 void Context::set_extension(HeapObject object, WriteBarrierMode mode) {
506 VerifyExtensionSlot(object);
508 set(EXTENSION_INDEX, object, mode);
513 bool Context::IsBootstrappingOrValidParentContext(Object object,
518 if (!object.IsContext()) return false;
519 Context context = Context::cast(object);