Lines Matching refs:vm
90 EcmaVM *vm = JSNApi::CreateEcmaVM(runtimeOptions); in Main() local
91 if (vm == nullptr) { in Main()
98 LocalScope scope(vm); in Main()
109 JSNApi::DestroyJSVM(vm); in Main()
114 JSNApi::SetBundle(vm, !isMergeAbc); in Main()
120 JSNApi::DestroyJSVM(vm); in Main()
124 auto res = JSNApi::Execute(vm, baseFileName, entryList[0]); in Main()
127 JSNApi::DestroyJSVM(vm); in Main()
130 JSNApi::EnableUserUncaughtErrorHandler(vm); in Main()
137 auto result = JSNApi::LoadPatch(vm, patchFileName, baseFileName); in Main()
145 … res = JSNApi::Execute(vm, baseFileName, entryList[1]); // 1: second entrypoint, for cold patch. in Main()
147 res = JSNApi::Execute(vm, testLoadFileName, TEST_ENTRY_POINT); in Main()
155 Local<ObjectRef> exception = JSNApi::GetAndClearUncaughtException(vm); in Main()
156 res = JSNApi::IsQuickFixCausedException(vm, exception, patchFileName); in Main()
164 result = JSNApi::UnloadPatch(vm, patchFileName); in Main()
171 res = JSNApi::Execute(vm, testUnloadFileName, RETEST_ENTRY_POINT); in Main()
181 JSNApi::DestroyJSVM(vm); in Main()