node/test/message
Joyee Cheung 052e095c6b
vm: use internal versions of compileFunction and Script
Instead of using the public versions of the vm APIs internally,
use the internal versions so that we can skip unnecessary
argument validation.

The public versions would need special care to the generation
of host-defined options to hit the isolate compilation cache
when imporModuleDynamically isn't used, while internally it's
almost always used, so this allows us to handle the host-defined
options separately.

PR-URL: https://github.com/nodejs/node/pull/50137
Backport-PR-URL: https://github.com/nodejs/node/pull/51004
Refs: https://github.com/nodejs/node/issues/35375
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
2024-03-15 17:56:06 +00:00
..
assert_throws_stack.js
assert_throws_stack.out
core_line_numbers.js
core_line_numbers.out
eval_messages.js
eval_messages.out vm: use internal versions of compileFunction and Script 2024-03-15 17:56:06 +00:00
if-error-has-good-stack.js
if-error-has-good-stack.out
internal_assert.js
internal_assert.out
internal_assert_fail.js
internal_assert_fail.out
max_tick_depth.js
max_tick_depth.out
message.status
nexttick_throw.js
nexttick_throw.out
promise_unhandled_warn_with_error.js
promise_unhandled_warn_with_error.out
stdin_messages.js
stdin_messages.out vm: use internal versions of compileFunction and Script 2024-03-15 17:56:06 +00:00
test-no-extra-info-on-fatal-exception.js
test-no-extra-info-on-fatal-exception.out
testcfg.py
throw_error_with_getter_throw.js
throw_error_with_getter_throw.out
throw_null.js
throw_null.out
throw_undefined.js
throw_undefined.out
timeout_throw.js
timeout_throw.out
undefined_reference_in_new_context.js
undefined_reference_in_new_context.out
unhandled_promise_trace_warnings.js
unhandled_promise_trace_warnings.out
util-inspect-error-cause.js util: fix inspecting error with a throwing getter for cause 2023-07-06 11:09:40 -04:00
util-inspect-error-cause.out util: fix inspecting error with a throwing getter for cause 2023-07-06 11:09:40 -04:00
util_inspect_error.js
util_inspect_error.out
v8_warning.js
v8_warning.out