Lines Matching refs:holder

255   Handle<Object> holder =
258 DCHECK(holder.is_null() || !holder->IsSourceTextModule());
263 if (attributes != ABSENT && holder->IsJSGlobalObject()) {
266 return DeclareGlobal(isolate, Handle<JSGlobalObject>::cast(holder), name,
289 DCHECK(holder.is_identical_to(context));
294 object = Handle<JSObject>::cast(holder);
635 Handle<Object> holder = Context::Lookup(context, name, FOLLOW_CHAINS, &index,
639 if (holder.is_null()) {
648 if (holder->IsContext() || holder->IsSourceTextModule()) {
655 Handle<JSReceiver> object = Handle<JSReceiver>::cast(holder);
672 Handle<Object> holder = Context::Lookup(context, name, FOLLOW_CHAINS, &index,
676 if (!holder.is_null() && holder->IsSourceTextModule()) {
680 isolate, Handle<SourceTextModule>::cast(holder), index);
683 DCHECK(holder->IsContext());
687 Handle<Object> value = handle(Context::cast(*holder).get(index), isolate);
699 // Otherwise, if the slot was found the holder is a context extension
702 if (!holder.is_null()) {
707 isolate, value, Object::GetProperty(isolate, holder, name), Object);
710 (holder->IsJSGlobalObject() || holder->IsJSContextExtensionObject())
712 : holder;
772 Handle<Object> holder =
775 if (holder.is_null()) {
778 } else if (holder->IsSourceTextModule()) {
780 SourceTextModule::StoreVariable(Handle<SourceTextModule>::cast(holder),
791 Handle<Context>::cast(holder)->get(index).IsTheHole(isolate)) {
797 Handle<Context>::cast(holder)->set(index, *value);
810 // The property exists on the holder.
811 object = Handle<JSReceiver>::cast(holder);