Lines Matching refs:hostVm
844 bool DFXJSNApi::BuildJsStackInfoList(const EcmaVM *hostVm, uint32_t tid, std::vector<JsFrameInfo>& jsFrames)
847 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) {
848 vm = const_cast<EcmaVM*>(hostVm);
850 vm = const_cast<EcmaVM*>(hostVm)->GetWorkerVm(tid);
926 void DFXJSNApi::ResumeVMById(EcmaVM *hostVm, uint32_t tid)
928 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) {
929 ResumeVM(hostVm);
931 hostVm->ResumeWorkerVm(tid);
935 bool DFXJSNApi::SuspendVMById(EcmaVM *hostVm, uint32_t tid)
938 if (hostVm->GetAssociatedJSThread()->GetThreadId() == tid) {
939 success = SuspendVM(hostVm);
943 success = hostVm->SuspendWorkerVm(tid);