We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82732ef commit a7c0cb8Copy full SHA for a7c0cb8
src/node_contextify.cc
@@ -1102,8 +1102,8 @@ void ContextifyContext::CompileFunction(
1102
}
1103
1104
if (produce_cached_data) {
1105
- const std::unique_ptr<ScriptCompiler::CachedData>
1106
- cached_data(ScriptCompiler::CreateCodeCacheForFunction(fun, code));
+ const std::unique_ptr<ScriptCompiler::CachedData> cached_data(
+ ScriptCompiler::CreateCodeCacheForFunction(fun));
1107
bool cached_data_produced = cached_data != nullptr;
1108
if (cached_data_produced) {
1109
MaybeLocal<Object> buf = Buffer::Copy(
0 commit comments