Skip to content

Commit 8bfd7f0

Browse files
chore: bump node to v20.19.0 (34-x-y) (#46037)
* chore: bump node in DEPS to v20.19.0 * deps, src: simplifying base64 encoding nodejs/node#52714 * module: simplify --inspect-brk handling nodejs/node#55679 * test: make test-crypto-hash compatible with OpenSSL > 3.4.0 nodejs/node#56160 * module: refactor ESM loader for adding future synchronous hooks nodejs/node#54769 * module: detect ESM syntax by trying to recompile as SourceTextModule nodejs/node#52413 * worker: add postMessageToThread nodejs/node#53682 * backport unflagging of require(esm) to v20 nodejs/node#56927 * module: detect ESM syntax by trying to recompile as SourceTextModule nodejs/node#52413 * chore: fixup patch indices * chore: handle filename.json changes - nodejs/node#51711 - nodejs/node#53573 * src: refactor embedded entrypoint loading nodejs/node#53573 * lib: allow CJS source map cache to be reclaimed nodejs/node#51711 * test: make eval snapshot tests more flexible --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <[email protected]>
1 parent b241c0d commit 8bfd7f0

File tree

34 files changed

+264
-311
lines changed

34 files changed

+264
-311
lines changed

DEPS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ vars = {
44
'chromium_version':
55
'132.0.6834.210',
66
'node_version':
7-
'v20.18.3',
7+
'v20.19.0',
88
'nan_version':
99
'e14bdcd1f72d62bca1d541b66da43130384ec213',
1010
'squirrel.mac_version':

patches/node/.patches

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,4 @@ build_restore_clang_as_default_compiler_on_macos.patch
5454
esm_drop_support_for_import_assertions.patch
5555
build_remove_explicit_linker_call_to_libm_on_macos.patch
5656
build_define_nominmax_in_common_gypi.patch
57+
test_make_eval_snapshot_tests_more_flexible.patch

patches/node/build_add_gn_build_files.patch

Lines changed: 5 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ really in 20/21. We have to wait until 22 is released to be able to
1111
build with upstream GN files.
1212

1313
diff --git a/BUILD.gn b/BUILD.gn
14-
index 1ed186b597eece7c34cb69c8e1e20870555a040d..2ce1e8a7dcca2ba153d387d11970c72b5f43c167 100644
14+
index 1ed186b597eece7c34cb69c8e1e20870555a040d..4171613ba865bb3ba82a2e3a219def63bb7abdc1 100644
1515
--- a/BUILD.gn
1616
+++ b/BUILD.gn
1717
@@ -1,14 +1,406 @@
@@ -284,7 +284,6 @@ index 1ed186b597eece7c34cb69c8e1e20870555a040d..2ce1e8a7dcca2ba153d387d11970c72b
284284
+ ":node_js2c_exec",
285285
+ "deps/googletest:gtest",
286286
+ "deps/ada",
287-
+ "deps/base64",
288287
+ "deps/simdutf",
289288
+ "deps/uvwasi",
290289
+ "//third_party/zlib",
@@ -333,6 +332,7 @@ index 1ed186b597eece7c34cb69c8e1e20870555a040d..2ce1e8a7dcca2ba153d387d11970c72b
333332
+ "-Wno-sometimes-uninitialized",
334333
+ "-Wno-string-plus-int",
335334
+ "-Wno-unused-function",
335+
+ "-Wno-unreachable-code-return",
336336
+ "-Wno-unused-label",
337337
+ "-Wno-unused-private-field",
338338
+ "-Wno-unused-variable",
@@ -458,84 +458,6 @@ index e92ac3a3beac143dced2efb05304ed8ba832b067..1ce69e9deba1a9b191e8d95f4c82e0ec
458458
-ada_gn_build("ada") {
459459
+ public_configs = [ ":ada_config" ]
460460
}
461-
diff --git a/deps/base64/unofficial.gni b/deps/base64/unofficial.gni
462-
index 0e69d7383762f6b81c5b57698aa9d121d5a9c401..35bbeb37acc7ccb14b4b8a644ec3d4c76ca5c61c 100644
463-
--- a/deps/base64/unofficial.gni
464-
+++ b/deps/base64/unofficial.gni
465-
@@ -12,6 +12,10 @@ template("base64_gn_build") {
466-
}
467-
}
468-
469-
+ # FIXME(zcbenz): ASM on win/x86 compiles perfectly in upstream Node, figure
470-
+ # out why it does not work in Electron's build configs.
471-
+ support_x86_asm = current_cpu == "x64" || (current_cpu == "x86" && !is_win)
472-
+
473-
config("base64_internal_config") {
474-
include_dirs = [ "base64/lib" ]
475-
if (is_component_build) {
476-
@@ -19,7 +23,7 @@ template("base64_gn_build") {
477-
} else {
478-
defines = []
479-
}
480-
- if (current_cpu == "x86" || current_cpu == "x64") {
481-
+ if (support_x86_asm) {
482-
defines += [
483-
"HAVE_SSSE3=1",
484-
"HAVE_SSE41=1",
485-
@@ -69,7 +73,7 @@ template("base64_gn_build") {
486-
source_set("base64_ssse3") {
487-
configs += [ ":base64_internal_config" ]
488-
sources = [ "base64/lib/arch/ssse3/codec.c" ]
489-
- if (current_cpu == "x86" || current_cpu == "x64") {
490-
+ if (support_x86_asm) {
491-
if (is_clang || !is_win) {
492-
cflags_c = [ "-mssse3" ]
493-
}
494-
@@ -79,7 +83,7 @@ template("base64_gn_build") {
495-
source_set("base64_sse41") {
496-
configs += [ ":base64_internal_config" ]
497-
sources = [ "base64/lib/arch/sse41/codec.c" ]
498-
- if (current_cpu == "x86" || current_cpu == "x64") {
499-
+ if (support_x86_asm) {
500-
if (is_clang || !is_win) {
501-
cflags_c = [ "-msse4.1" ]
502-
}
503-
@@ -89,7 +93,7 @@ template("base64_gn_build") {
504-
source_set("base64_sse42") {
505-
configs += [ ":base64_internal_config" ]
506-
sources = [ "base64/lib/arch/sse42/codec.c" ]
507-
- if (current_cpu == "x86" || current_cpu == "x64") {
508-
+ if (support_x86_asm) {
509-
if (is_clang || !is_win) {
510-
cflags_c = [ "-msse4.2" ]
511-
}
512-
@@ -99,7 +103,7 @@ template("base64_gn_build") {
513-
source_set("base64_avx") {
514-
configs += [ ":base64_internal_config" ]
515-
sources = [ "base64/lib/arch/avx/codec.c" ]
516-
- if (current_cpu == "x86" || current_cpu == "x64") {
517-
+ if (support_x86_asm) {
518-
if (is_clang || !is_win) {
519-
cflags_c = [ "-mavx" ]
520-
} else if (is_win) {
521-
@@ -111,7 +115,7 @@ template("base64_gn_build") {
522-
source_set("base64_avx2") {
523-
configs += [ ":base64_internal_config" ]
524-
sources = [ "base64/lib/arch/avx2/codec.c" ]
525-
- if (current_cpu == "x86" || current_cpu == "x64") {
526-
+ if (support_x86_asm) {
527-
if (is_clang || !is_win) {
528-
cflags_c = [ "-mavx2" ]
529-
} else if (is_win) {
530-
@@ -123,7 +127,7 @@ template("base64_gn_build") {
531-
source_set("base64_avx512") {
532-
configs += [ ":base64_internal_config" ]
533-
sources = [ "base64/lib/arch/avx512/codec.c" ]
534-
- if (current_cpu == "x86" || current_cpu == "x64") {
535-
+ if (support_x86_asm) {
536-
if (is_clang || !is_win) {
537-
cflags_c = [
538-
"-mavx512vl",
539461
diff --git a/deps/cares/BUILD.gn b/deps/cares/BUILD.gn
540462
index ac19ac73ed1e24c61cb679f3851685b79cfc8b39..ef745c19f2b1cd433cc43c834a18db7eaa8e5162 100644
541463
--- a/deps/cares/BUILD.gn
@@ -1281,7 +1203,7 @@ index 0000000000000000000000000000000000000000..af9cbada10203b387fb9732b346583b1
12811203
+}
12821204
diff --git a/filenames.json b/filenames.json
12831205
new file mode 100644
1284-
index 0000000000000000000000000000000000000000..c429d4cbfff605ff78c7c8ee3c5ad046594163f3
1206+
index 0000000000000000000000000000000000000000..72ddbe405908109ab7563e0c8f2e61c75cac88fc
12851207
--- /dev/null
12861208
+++ b/filenames.json
12871209
@@ -0,0 +1,740 @@
@@ -1649,6 +1571,7 @@ index 0000000000000000000000000000000000000000..c429d4cbfff605ff78c7c8ee3c5ad046
16491571
+ "lib/internal/source_map/prepare_stack_trace.js",
16501572
+ "lib/internal/source_map/source_map.js",
16511573
+ "lib/internal/source_map/source_map_cache.js",
1574+
+ "lib/internal/source_map/source_map_cache_map.js",
16521575
+ "lib/internal/stream_base_commons.js",
16531576
+ "lib/internal/streams/add-abort-signal.js",
16541577
+ "lib/internal/streams/compose.js",
@@ -1696,10 +1619,8 @@ index 0000000000000000000000000000000000000000..c429d4cbfff605ff78c7c8ee3c5ad046
16961619
+ "lib/internal/util/colors.js",
16971620
+ "lib/internal/util/comparisons.js",
16981621
+ "lib/internal/util/debuglog.js",
1699-
+ "lib/internal/util/embedding.js",
17001622
+ "lib/internal/util/inspect.js",
17011623
+ "lib/internal/util/inspector.js",
1702-
+ "lib/internal/util/iterable_weak_map.js",
17031624
+ "lib/internal/util/parse_args/parse_args.js",
17041625
+ "lib/internal/util/parse_args/utils.js",
17051626
+ "lib/internal/util/types.js",
@@ -1725,6 +1646,7 @@ index 0000000000000000000000000000000000000000..c429d4cbfff605ff78c7c8ee3c5ad046
17251646
+ "lib/internal/worker.js",
17261647
+ "lib/internal/worker/io.js",
17271648
+ "lib/internal/worker/js_transferable.js",
1649+
+ "lib/internal/worker/messaging.js",
17281650
+ "lib/module.js",
17291651
+ "lib/net.js",
17301652
+ "lib/os.js",

patches/node/build_compile_with_c_20_support.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ V8 requires C++20 support as of https://chromium-review.googlesource.com/c/v8/v8
1010
This can be removed when Electron upgrades to a version of Node.js containing the required V8 version.
1111

1212
diff --git a/common.gypi b/common.gypi
13-
index 690068f093f12b6831f8ccce41289d02d7047a7a..5a3df388773ad288553bf036be42dc1a0ba75c09 100644
13+
index 3b26f0e9c8a16135d6c614374cfb943ebc07f992..4a79378a6633b33f86f6576c27659df18193ed46 100644
1414
--- a/common.gypi
1515
+++ b/common.gypi
1616
@@ -305,7 +305,7 @@

patches/node/build_define_nominmax_in_common_gypi.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ significant.
1818
PR-URL: https://github.com/nodejs/node/pull/52794
1919

2020
diff --git a/common.gypi b/common.gypi
21-
index 9bbf1b277eb17d78ca385643c3177638fd75866a..959ee74af88b44d31f2e6fa65c6f260820bd8c46 100644
21+
index 2f0dab65717ac59a32bd91dbac6a0b9ded5c93e6..cd3700f5290e69ec60fc22bd5fa32b54565aa049 100644
2222
--- a/common.gypi
2323
+++ b/common.gypi
2424
@@ -480,6 +480,10 @@

patches/node/build_ensure_native_module_compilation_fails_if_not_using_a_new.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Subject: build: ensure native module compilation fails if not using a new
77
This should not be upstreamed, it is a quality-of-life patch for downstream module builders.
88

99
diff --git a/common.gypi b/common.gypi
10-
index 776a6dcf3a729a65b367fb5b4c5685f841089eea..690068f093f12b6831f8ccce41289d02d7047a7a 100644
10+
index 46761b75327826b1f608670a1511be01df9be08e..3b26f0e9c8a16135d6c614374cfb943ebc07f992 100644
1111
--- a/common.gypi
1212
+++ b/common.gypi
1313
@@ -86,6 +86,8 @@

patches/node/build_remove_explicit_linker_call_to_libm_on_macos.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ index 5e07e106672a04508a77584c109c97a67926c858..91001fa43ea4807d061f296eaeccb751
4040
}
4141
if (is_clang || !is_win) {
4242
diff --git a/deps/uv/unofficial.gni b/deps/uv/unofficial.gni
43-
index 7a73f891e3fc3261b77af97af63fca2eade49849..bda1b5dc899558c2b4a22377dde9fb3bcce5488c 100644
43+
index 348d2f0703e47ca7c5326a4b4c1d6ae31157eeb5..0944d6ddd241b113970ab6aa5804f9534fde882a 100644
4444
--- a/deps/uv/unofficial.gni
4545
+++ b/deps/uv/unofficial.gni
46-
@@ -82,11 +82,11 @@ template("uv_gn_build") {
46+
@@ -87,11 +87,11 @@ template("uv_gn_build") {
4747
]
4848
}
4949
if (is_posix) {

patches/node/build_restore_clang_as_default_compiler_on_macos.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ node-gyp will use the result of `process.config` that reflects the environment
1111
in which the binary got built.
1212

1313
diff --git a/common.gypi b/common.gypi
14-
index 5a3df388773ad288553bf036be42dc1a0ba75c09..9bbf1b277eb17d78ca385643c3177638fd75866a 100644
14+
index 4a79378a6633b33f86f6576c27659df18193ed46..2f0dab65717ac59a32bd91dbac6a0b9ded5c93e6 100644
1515
--- a/common.gypi
1616
+++ b/common.gypi
1717
@@ -125,6 +125,7 @@

patches/node/cherry-pick_src_remove_calls_to_recently_deprecated_v8_apis.patch

Lines changed: 34 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -15,27 +15,37 @@ This patch is expected to be deleted once we catch up with a Node.js
1515
upgrade that includes the original Node.js commit above.
1616

1717
diff --git a/src/module_wrap.cc b/src/module_wrap.cc
18-
index ff658ec88e5161cd66536ee6e95dba675b16eccc..9bbb8ab908d8d992abb43254860d51f57f56387b 100644
18+
index 0f0b16fcdd8a97bba60faeff09300dd8102cf02c..094d12ffe99500af700a591f5cb33e7d7b247ed1 100644
1919
--- a/src/module_wrap.cc
2020
+++ b/src/module_wrap.cc
21-
@@ -202,8 +202,7 @@ void ModuleWrap::New(const FunctionCallbackInfo<Value>& args) {
22-
}
23-
24-
Local<String> source_text = args[2].As<String>();
25-
- ScriptOrigin origin(isolate,
26-
- url,
27-
+ ScriptOrigin origin(url,
28-
line_offset,
29-
column_offset,
30-
true, // is cross origin
31-
@@ -464,7 +463,6 @@ void ModuleWrap::Evaluate(const FunctionCallbackInfo<Value>& args) {
21+
@@ -304,8 +304,7 @@ MaybeLocal<Module> ModuleWrap::CompileSourceTextModule(
22+
bool* cache_rejected) {
23+
Isolate* isolate = realm->isolate();
24+
EscapableHandleScope scope(isolate);
25+
- ScriptOrigin origin(isolate,
26+
- url,
27+
+ ScriptOrigin origin(url,
28+
line_offset,
29+
column_offset,
30+
true, // is cross origin
31+
@@ -500,7 +499,6 @@ void ModuleWrap::Evaluate(const FunctionCallbackInfo<Value>& args) {
3232

3333
ShouldNotAbortOnUncaughtScope no_abort_scope(realm->env());
3434
TryCatchScope try_catch(realm->env());
3535
- Isolate::SafeForTerminationScope safe_for_termination(isolate);
3636

3737
bool timed_out = false;
3838
bool received_signal = false;
39+
@@ -1009,8 +1007,7 @@ void ModuleWrap::CreateRequiredModuleFacade(
40+
ASSIGN_OR_RETURN_UNWRAP(&original, wrap);
41+
42+
// Use the same facade source and URL to hit the compilation cache.
43+
- ScriptOrigin origin(isolate,
44+
- env->required_module_facade_url_string(),
45+
+ ScriptOrigin origin(env->required_module_facade_url_string(),
46+
0, // line offset
47+
0, // column offset
48+
true, // is cross origin
3949
diff --git a/src/node_builtins.cc b/src/node_builtins.cc
4050
index 4bf80aa6cc6385dc376fd0a3538efc27fe5bd0a2..3e37aa8b0c9696cceb3f3cfab9721f38c74a2fba 100644
4151
--- a/src/node_builtins.cc
@@ -50,36 +60,20 @@ index 4bf80aa6cc6385dc376fd0a3538efc27fe5bd0a2..3e37aa8b0c9696cceb3f3cfab9721f38
5060
BuiltinCodeCacheData cached_data{};
5161
{
5262
diff --git a/src/node_contextify.cc b/src/node_contextify.cc
53-
index 6456d87d4202c013aafe071adbac06852b3ae2c1..28ba7dbe66a44a43c39e3d75edf0be9513bcf732 100644
63+
index c8ccf38eaaeaccf3715b742e7e64cf7803dbb392..a3f70f6cba773d0a7a00aca96a1687c1e2ae38e6 100644
5464
--- a/src/node_contextify.cc
5565
+++ b/src/node_contextify.cc
56-
@@ -877,16 +877,15 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
66+
@@ -878,8 +878,7 @@ void ContextifyScript::New(const FunctionCallbackInfo<Value>& args) {
5767
host_defined_options->Set(
5868
isolate, loader::HostDefinedOptions::kID, id_symbol);
5969

6070
- ScriptOrigin origin(isolate,
6171
- filename,
62-
- line_offset, // line offset
63-
- column_offset, // column offset
64-
- true, // is cross origin
65-
- -1, // script id
66-
- Local<Value>(), // source map URL
67-
- false, // is opaque (?)
68-
- false, // is WASM
69-
- false, // is ES Module
7072
+ ScriptOrigin origin(filename,
71-
+ line_offset, // line offset
72-
+ column_offset, // column offset
73-
+ true, // is cross origin
74-
+ -1, // script id
75-
+ Local<Value>(), // source map URL
76-
+ false, // is opaque (?)
77-
+ false, // is WASM
78-
+ false, // is ES Module
79-
host_defined_options);
80-
ScriptCompiler::Source source(code, origin, cached_data);
81-
ScriptCompiler::CompileOptions compile_options =
82-
@@ -998,7 +997,7 @@ MaybeLocal<Function> CompileFunction(Local<Context> context,
73+
line_offset, // line offset
74+
column_offset, // column offset
75+
true, // is cross origin
76+
@@ -999,7 +998,7 @@ MaybeLocal<Function> CompileFunction(Local<Context> context,
8377
Local<String> filename,
8478
Local<String> content,
8579
std::vector<Local<String>>* parameters) {
@@ -88,81 +82,34 @@ index 6456d87d4202c013aafe071adbac06852b3ae2c1..28ba7dbe66a44a43c39e3d75edf0be95
8882
ScriptCompiler::Source script_source(content, script_origin);
8983

9084
return ScriptCompiler::CompileFunction(context,
91-
@@ -1108,7 +1107,6 @@ bool ContextifyScript::EvalMachine(Local<Context> context,
85+
@@ -1109,7 +1108,6 @@ bool ContextifyScript::EvalMachine(Local<Context> context,
9286
}
9387

9488
TryCatchScope try_catch(env);
9589
- Isolate::SafeForTerminationScope safe_for_termination(env->isolate());
9690
ContextifyScript* wrapped_script;
9791
ASSIGN_OR_RETURN_UNWRAP(&wrapped_script, args.This(), false);
9892
Local<UnboundScript> unbound_script =
99-
@@ -1286,8 +1284,7 @@ void ContextifyContext::CompileFunction(
93+
@@ -1278,8 +1276,7 @@ void ContextifyContext::CompileFunction(
10094
Local<PrimitiveArray> host_defined_options =
101-
GetHostDefinedOptions(isolate, id_symbol);
102-
ScriptCompiler::Source source =
103-
- GetCommonJSSourceInstance(isolate,
104-
- code,
105-
+ GetCommonJSSourceInstance(code,
106-
filename,
107-
line_offset,
108-
column_offset,
109-
@@ -1342,15 +1339,13 @@ void ContextifyContext::CompileFunction(
110-
}
95+
loader::ModuleWrap::GetHostDefinedOptions(isolate, id_symbol);
11196

112-
ScriptCompiler::Source ContextifyContext::GetCommonJSSourceInstance(
113-
- Isolate* isolate,
114-
Local<String> code,
115-
Local<String> filename,
116-
int line_offset,
117-
int column_offset,
118-
Local<PrimitiveArray> host_defined_options,
119-
ScriptCompiler::CachedData* cached_data) {
12097
- ScriptOrigin origin(isolate,
12198
- filename,
12299
+ ScriptOrigin origin(filename,
123100
line_offset, // line offset
124101
column_offset, // column offset
125102
true, // is cross origin
126-
@@ -1528,7 +1523,7 @@ void ContextifyContext::ContainsModuleSyntax(
127-
Local<PrimitiveArray> host_defined_options =
128-
GetHostDefinedOptions(isolate, id_symbol);
129-
ScriptCompiler::Source source = GetCommonJSSourceInstance(
130-
- isolate, code, filename, 0, 0, host_defined_options, nullptr);
131-
+ code, filename, 0, 0, host_defined_options, nullptr);
132-
ScriptCompiler::CompileOptions options = GetCompileOptions(source);
133-
134-
std::vector<Local<String>> params = GetCJSParameters(env->isolate_data());
135-
@@ -1576,7 +1571,7 @@ void ContextifyContext::ContainsModuleSyntax(
136-
code,
137-
String::NewFromUtf8(isolate, "})();").ToLocalChecked());
138-
ScriptCompiler::Source wrapped_source = GetCommonJSSourceInstance(
139-
- isolate, code, filename, 0, 0, host_defined_options, nullptr);
140-
+ code, filename, 0, 0, host_defined_options, nullptr);
141-
std::ignore = ScriptCompiler::CompileFunction(
142-
context,
143-
&wrapped_source,
144-
@@ -1629,8 +1624,7 @@ static void CompileFunctionForCJSLoader(
145-
103+
@@ -1466,8 +1463,7 @@ static MaybeLocal<Function> CompileFunctionForCJSLoader(
146104
Local<Symbol> symbol = env->vm_dynamic_import_default_internal();
147-
Local<PrimitiveArray> hdo = GetHostDefinedOptions(isolate, symbol);
105+
Local<PrimitiveArray> hdo =
106+
loader::ModuleWrap::GetHostDefinedOptions(isolate, symbol);
148107
- ScriptOrigin origin(isolate,
149108
- filename,
150109
+ ScriptOrigin origin(filename,
151110
0, // line offset
152111
0, // column offset
153112
true, // is cross origin
154-
diff --git a/src/node_contextify.h b/src/node_contextify.h
155-
index 517e3f44d324900222e1da961a4cd60bbb4a85f9..10715c7eb07715cc11e49734bd54747dad95f6a4 100644
156-
--- a/src/node_contextify.h
157-
+++ b/src/node_contextify.h
158-
@@ -99,7 +99,6 @@ class ContextifyContext : public BaseObject {
159-
v8::Local<v8::Symbol> id_symbol,
160-
const errors::TryCatchScope& try_catch);
161-
static v8::ScriptCompiler::Source GetCommonJSSourceInstance(
162-
- v8::Isolate* isolate,
163-
v8::Local<v8::String> code,
164-
v8::Local<v8::String> filename,
165-
int line_offset,
166113
diff --git a/test/cctest/test_environment.cc b/test/cctest/test_environment.cc
167114
index 64e38c83006a004ebc3519a5e9f8b04263244514..14e82cc80ff73084fb43b2ef07febfd2667a0abc 100644
168115
--- a/test/cctest/test_environment.cc

0 commit comments

Comments
 (0)