Lines Matching defs:thread
72 void DropframeManager::MethodEntry(JSThread *thread, JSHandle<Method> method, JSHandle<JSTaggedValue> envHandle)
83 PushPromiseQueueSizeRecord(thread);
94 AddLexPropertiesToRecord(thread, bcIns, newEnvCount, modifiedLexVarPos, envHandle);
99 void DropframeManager::AddLexPropertiesToRecord(JSThread *thread, BytecodeInstruction &bcIns, uint16_t &newEnvCount,
118 EmplaceLexModifyRecord(thread, env, slot, value);
133 void DropframeManager::MethodExit(JSThread *thread, [[maybe_unused]] JSHandle<Method> method)
146 MergeLexModifyRecordOfTopFrame(thread);
150 void DropframeManager::DropLastFrame(JSThread *thread)
161 LexicalEnv::Cast(env.GetTaggedObject())->SetProperties(thread, slot, valueHandle.GetTaggedValue());
165 RemoveLexModifyRecordOfTopFrame(thread);
168 FrameHandler frameHandler(thread);
179 if (!thread->IsAsmInterpreter()) {
181 thread->SetCurrentFrame(prevSp);
184 thread->SetEntryFrameDroppedState();
186 thread->SetFrameDroppedState();
196 void DropframeManager::EmplaceLexModifyRecord(JSThread *thread, JSTaggedValue env, uint16_t slot, JSTaggedValue value)
198 GlobalHandleCollection globalHandleCollection(thread);
225 void DropframeManager::RemoveLexModifyRecordOfTopFrame(JSThread *thread)
230 GlobalHandleCollection globalHandleCollection(thread);
240 void DropframeManager::MergeLexModifyRecordOfTopFrame(JSThread *thread)
245 GlobalHandleCollection globalHandleCollection(thread);
279 void DropframeManager::PushPromiseQueueSizeRecord(JSThread *thread)
281 EcmaContext *context = thread->GetCurrentEcmaContext();
282 uint32_t queueSize = job::MicroJobQueue::GetPromiseQueueSize(thread, context->GetMicroJobQueue());