Lines Matching refs:thread_

36     ObjectFactory *factory = thread_->GetEcmaVM()->GetFactory();
41 originhclass = JSHandle<JSHClass>(thread_, receiver->GetTaggedObject()->GetClass());
55 handlerValue = LoadHandler::LoadElement(thread_, op);
60 handlerValue = LoadHandler::LoadProperty(thread_, op);
62 handlerValue = PrototypeHandler::LoadPrototype(thread_, op, hclass);
65 handlerValue = LoadHandler::LoadProperty(thread_, op);
71 handlerValue = PrototypeHandler::LoadPrototype(thread_, op, hclass);
96 JSHandle<JSTaggedValue> handlerValue = LoadHandler::LoadStringElement(thread_);
107 LoadHandler::LoadTypedArrayElement(thread_, JSHandle<JSTypedArray>(receiver));
126 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass());
127 handlerValue = TransWithProtoHandler::StoreTransition(thread_, op, hclass);
129 handlerValue = TransitionHandler::StoreTransition(thread_, op);
136 JSHandle<JSHClass> hclass(thread_, JSHandle<JSObject>::Cast(receiver)->GetClass());
137 handlerValue = PrototypeHandler::StorePrototype(thread_, op, hclass);
139 handlerValue = StoreHandler::StoreProperty(thread_, op);
176 JSTaggedValue::RequireObjectCoercible(thread_, receiver, "Cannot load property of null or undefined");
177 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
181 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread_, key);
182 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
183 return JSTaggedValue::GetProperty(thread_, receiver, propKey).GetValue().GetTaggedValue();
190 return JSSharedArray::GetProperty(thread_, receiver, key, SCheckMode::CHECK).GetValue().GetTaggedValue();
193 auto result = JSHandle<JSTaggedValue>(thread_, JSObject::GetProperty(GetThread(), &op));
194 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
235 JSTaggedValue box = SlowRuntimeStub::LdGlobalRecord(thread_, key.GetTaggedValue());
239 icAccessor_.AddGlobalRecordHandler(JSHandle<JSTaggedValue>(thread_, box));
250 PropertyDescriptor desc(thread_);
252 !JSTaggedValue::GetOwnProperty(thread_, receiver, key, desc)) {
253 THROW_TYPE_ERROR_AND_RETURN(thread_, "invalid or cannot find private key", JSTaggedValue::Exception());
258 auto result = JSHandle<JSTaggedValue>(thread_, JSObject::GetProperty(GetThread(), &op));
259 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
286 JSHandle<JSTaggedValue> propKey = JSTaggedValue::ToPropertyKey(thread_, key);
287 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
288 return JSTaggedValue::GetProperty(thread_, receiver, propKey).GetValue().GetTaggedValue();
293 JSHandle<JSTaggedValue> undefined = thread_->GlobalConstants()->GetHandledUndefined();
295 EcmaInterpreter::NewRuntimeCallInfo(thread_, key, receiver, undefined, 0); // 0: getter has 0 argument
296 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
298 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
352 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
361 JSTaggedValue box = SlowRuntimeStub::LdGlobalRecord(thread_, key.GetTaggedValue());
364 SlowRuntimeStub::TryUpdateGlobalRecord(thread_, key.GetTaggedValue(), value.GetTaggedValue());
365 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
367 icAccessor_.AddGlobalRecordHandler(JSHandle<JSTaggedValue>(thread_, box));
376 bool success = JSSharedArray::SetProperty(thread_, receiver, key, value, true, SCheckMode::CHECK);
377 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
388 PropertyDescriptor desc(thread_);
390 !JSTaggedValue::GetOwnProperty(thread_, receiver, key, desc)) {
391 THROW_TYPE_ERROR_AND_RETURN(thread_, "invalid or cannot find private key", JSTaggedValue::Exception());
407 PropertyDescriptor desc(thread_, value, true, enumerable, true);
408 success = JSObject::DefineOwnProperty(thread_, &op, desc);
412 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
434 JSHandle<JSTaggedValue> undefined = thread_->GlobalConstants()->GetHandledUndefined();
436 EcmaInterpreter::NewRuntimeCallInfo(thread_, key, receiver, undefined, 1); // 1: setter has 1 argument
437 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);
440 RETURN_EXCEPTION_IF_ABRUPT_COMPLETION(thread_);