Skip to content

Commit 269a401

Browse files
committed
ScriptCompiler::kNoCompileOptions
1 parent b0a3b2d commit 269a401

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/node_contextify.cc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1516,7 +1516,6 @@ bool ContextifyContext::ShouldRetryAsESMInternal(Environment* env,
15161516
GetHostDefinedOptions(isolate, id_symbol);
15171517
ScriptCompiler::Source source = GetCommonJSSourceInstance(
15181518
isolate, code, script_id, 0, 0, host_defined_options, nullptr);
1519-
ScriptCompiler::CompileOptions options = GetCompileOptions(source);
15201519

15211520
TryCatchScope try_catch(env);
15221521
ShouldNotAbortOnUncaughtScope no_abort_scope(env);
@@ -1544,7 +1543,7 @@ bool ContextifyContext::ShouldRetryAsESMInternal(Environment* env,
15441543
params.data(),
15451544
0,
15461545
nullptr,
1547-
options,
1546+
ScriptCompiler::kNoCompileOptions,
15481547
v8::ScriptCompiler::NoCacheReason::kNoCacheNoReason);
15491548

15501549
if (!try_catch.HasTerminated()) {

0 commit comments

Comments
 (0)