JSObject* throwTerminatedExecutionException(ExecState* exec) { VM& vm = exec->vm(); ErrorHandlingScope errorScope(vm); return vm.throwException(exec, createTerminatedExecutionException(&vm)); }
JSObject* throwTerminatedExecutionException(ExecState* exec) { Interpreter::ErrorHandlingMode mode(exec); return exec->vm().throwException(exec, createTerminatedExecutionException(&exec->vm())); }