Lines Matching refs:vm_

42         TestHelper::CreateEcmaVMWithScope(vm_, thread_, scope_);

47 TestHelper::DestroyEcmaVMWithScope(vm_, scope_);
68 EcmaVM *vm_ {nullptr};
75 explicit TerminatorThread(EcmaVM *vm) : vm_(vm) {}
83 DFXJSNApi::TerminateExecution(vm_);
91 DFXJSNApi::TerminateExecution(vm_);
101 EcmaVM *vm_ {nullptr};
127 JSThread *thread = vm_->GetAssociatedJSThread();
129 JSNApi::EnableUserUncaughtErrorHandler(vm_);
130 RegisterGlobalTemplate(vm_, TerminateThread, Fail, Signal);
131 TryCatch tryCatch(vm_);
133 JSNApi::Execute(vm_, baseFileName, "termination_1");
140 JSThread *thread = vm_->GetAssociatedJSThread();
142 TerminatorThread terminatorThread(vm_);
144 JSNApi::EnableUserUncaughtErrorHandler(vm_);
145 RegisterGlobalTemplate(vm_, TerminateThread, Fail, Signal);
146 TryCatch tryCatch(vm_);
148 JSNApi::Execute(vm_, baseFileName, "termination_2");
156 JSThread *thread = vm_->GetAssociatedJSThread();
158 TerminatorThread terminatorThread(vm_);
160 JSNApi::EnableUserUncaughtErrorHandler(vm_);
161 RegisterGlobalTemplate(vm_, TerminateThread, Fail, Signal);
162 TryCatch tryCatch(vm_);
164 JSNApi::Execute(vm_, baseFileName, "termination_3");
172 JSThread *thread = vm_->GetAssociatedJSThread();
174 JSNApi::EnableUserUncaughtErrorHandler(vm_);
175 RegisterGlobalTemplate(vm_, TerminateThread, Fail, Signal);
176 TryCatch tryCatch(vm_);
178 JSNApi::Execute(vm_, baseFileName, "termination_4");
185 JSThread *thread = vm_->GetAssociatedJSThread();
187 JSNApi::EnableUserUncaughtErrorHandler(vm_);
188 RegisterGlobalTemplate(vm_, TerminateThread, Fail, Signal);
189 TryCatch tryCatch(vm_);
191 JSNApi::Execute(vm_, baseFileName, "termination_5");
197 JSThread *thread = vm_->GetAssociatedJSThread();
199 JSNApi::EnableUserUncaughtErrorHandler(vm_);
200 RegisterGlobalTemplate(vm_, TerminateThread, Fail, Signal);
201 TryCatch tryCatch(vm_);
203 JSNApi::Execute(vm_, baseFileName, "termination_6");