We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acaa918 commit 4b1685fCopy full SHA for 4b1685f
src/node_contextify.cc
@@ -1064,8 +1064,8 @@ void ContextifyContext::CompileFunction(
1064
}
1065
1066
if (produce_cached_data) {
1067
- const std::unique_ptr<ScriptCompiler::CachedData>
1068
- cached_data(ScriptCompiler::CreateCodeCacheForFunction(fun, code));
+ const std::unique_ptr<ScriptCompiler::CachedData> cached_data(
+ ScriptCompiler::CreateCodeCacheForFunction(fun));
1069
bool cached_data_produced = cached_data != nullptr;
1070
if (cached_data_produced) {
1071
MaybeLocal<Object> buf = Buffer::Copy(
0 commit comments