Lines Matching refs:holder
242 Handle<Object> holder = context->Lookup(name, DONT_FOLLOW_CHAINS, &index, in DeclareLookupSlot() local
244 if (holder.is_null()) { in DeclareLookupSlot()
256 if (attributes != ABSENT && holder->IsJSGlobalObject()) { in DeclareLookupSlot()
257 return DeclareGlobals(isolate, Handle<JSGlobalObject>::cast(holder), name, in DeclareLookupSlot()
284 DCHECK(holder.is_identical_to(context)); in DeclareLookupSlot()
289 object = Handle<JSObject>::cast(holder); in DeclareLookupSlot()
350 Handle<Object> holder = in RUNTIME_FUNCTION() local
352 if (holder.is_null()) { in RUNTIME_FUNCTION()
358 DCHECK(holder->IsContext()); in RUNTIME_FUNCTION()
361 Handle<Context> context = Handle<Context>::cast(holder); in RUNTIME_FUNCTION()
378 holder = handle(declaration_context->global_object(), isolate); in RUNTIME_FUNCTION()
380 holder = handle(declaration_context->extension_object(), isolate); in RUNTIME_FUNCTION()
381 DCHECK(!holder.is_null()); in RUNTIME_FUNCTION()
383 CHECK(holder->IsJSObject()); in RUNTIME_FUNCTION()
389 DCHECK(holder->IsJSGlobalObject() || holder->IsJSContextExtensionObject()); in RUNTIME_FUNCTION()
391 LookupIterator it(holder, name, LookupIterator::HIDDEN_SKIP_INTERCEPTOR); in RUNTIME_FUNCTION()
408 Handle<JSObject>::cast(holder), name, value, attr)); in RUNTIME_FUNCTION()
969 Handle<Object> holder = in RUNTIME_FUNCTION() local
973 if (holder.is_null()) { in RUNTIME_FUNCTION()
980 if (holder->IsContext()) { in RUNTIME_FUNCTION()
987 Handle<JSReceiver> object = Handle<JSReceiver>::cast(holder); in RUNTIME_FUNCTION()
994 static Object* ComputeReceiverForNonGlobal(Isolate* isolate, JSObject* holder) { in ComputeReceiverForNonGlobal() argument
995 DCHECK(!holder->IsJSGlobalObject()); in ComputeReceiverForNonGlobal()
1001 if (holder->map()->instance_type() != JS_CONTEXT_EXTENSION_OBJECT_TYPE) { in ComputeReceiverForNonGlobal()
1002 return holder; in ComputeReceiverForNonGlobal()
1026 Handle<Object> holder = in LoadLookupSlotHelper() local
1033 DCHECK(holder->IsContext()); in LoadLookupSlotHelper()
1037 Object* value = Context::cast(*holder)->get(index); in LoadLookupSlotHelper()
1069 if (!holder.is_null()) { in LoadLookupSlotHelper()
1070 Handle<JSReceiver> object = Handle<JSReceiver>::cast(holder); in LoadLookupSlotHelper()
1126 Handle<Object> holder = in RUNTIME_FUNCTION() local
1128 if (holder.is_null()) { in RUNTIME_FUNCTION()
1137 Handle<Context>::cast(holder)->is_the_hole(index)) { in RUNTIME_FUNCTION()
1142 Handle<Context>::cast(holder)->set(index, *value); in RUNTIME_FUNCTION()
1157 object = Handle<JSReceiver>::cast(holder); in RUNTIME_FUNCTION()