Lines Matching defs:thread

35     JSFunction *JSObjectCreate(JSThread *thread)
37 EcmaVM *ecmaVM = thread->GetEcmaVM();
42 EcmaRuntimeCallInfo *CreateEcmaRuntimeCallInfo(JSThread *thread, uint32_t numArgs)
44 auto factory = thread->GetEcmaVM()->GetFactory();
45 JSHandle<JSTaggedValue> hclass(thread, JSObjectCreate(thread));
47 JSHandle<JSTaggedValue> undefined = thread->GlobalConstants()->GetHandledUndefined();
49 EcmaInterpreter::NewRuntimeCallInfo(thread, undefined, callee, undefined, numArgs);
53 JSTaggedValue InitializeLightWeightMapConstructor(JSThread *thread)
55 auto factory = thread->GetEcmaVM()->GetFactory();
56 JSHandle<GlobalEnv> env = thread->GetEcmaVM()->GetGlobalEnv();
60 JSObject::GetProperty(thread, JSHandle<JSTaggedValue>(globalObject), key).GetValue();
62 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 6); // 6 : means the argv length
71 JSHandle<JSAPILightWeightMap> CreateJSAPILightWeightMap(JSThread *thread)
73 JSHandle<JSFunction> newTarget(thread, InitializeLightWeightMapConstructor(thread));
74 auto objCallInfo = CreateEcmaRuntimeCallInfo(thread, 4);
80 JSHandle<JSAPILightWeightMap> map(thread, result);
91 auto thread = vm->GetAssociatedJSThread();
105 JSHandle<JSAPILightWeightMap> lightWeightMap = CreateJSAPILightWeightMap(thread);
107 EcmaRuntimeCallInfo *callInfo1 = CreateEcmaRuntimeCallInfo(thread, 8);
114 JSMutableHandle<JSTaggedValue> result(thread, JSTaggedValue::Undefined());
115 EcmaRuntimeCallInfo *callInfo2 = CreateEcmaRuntimeCallInfo(thread, 4);
118 JSHandle<JSTaggedValue> iterValues(thread, ContainersLightWeightMap::Values(callInfo2));
120 EcmaRuntimeCallInfo *callInfo3 = CreateEcmaRuntimeCallInfo(thread, 4);
124 JSHandle<JSTaggedValue> valuesHandle = JSIterator::IteratorValue(thread, result);
126 EcmaRuntimeCallInfo *callInfo4 = CreateEcmaRuntimeCallInfo(thread, 6);