diff options
Diffstat (limited to 'deps/v8/src/compiler.h')
-rw-r--r-- | deps/v8/src/compiler.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/deps/v8/src/compiler.h b/deps/v8/src/compiler.h index 4789759dfca..b3a5b739979 100644 --- a/deps/v8/src/compiler.h +++ b/deps/v8/src/compiler.h @@ -139,9 +139,10 @@ class V8_EXPORT_PRIVATE Compiler : public AllStatic { // Create a shared function info object for a String source. static MaybeHandle<SharedFunctionInfo> GetSharedFunctionInfoForScript( - Handle<String> source, const ScriptDetails& script_details, - ScriptOriginOptions origin_options, v8::Extension* extension, - ScriptData* cached_data, ScriptCompiler::CompileOptions compile_options, + Isolate* isolate, Handle<String> source, + const ScriptDetails& script_details, ScriptOriginOptions origin_options, + v8::Extension* extension, ScriptData* cached_data, + ScriptCompiler::CompileOptions compile_options, ScriptCompiler::NoCacheReason no_cache_reason, NativesFlag is_natives_code); @@ -151,8 +152,9 @@ class V8_EXPORT_PRIVATE Compiler : public AllStatic { // have been released, however the object itself isn't freed and is still // owned by the caller. static MaybeHandle<SharedFunctionInfo> GetSharedFunctionInfoForStreamedScript( - Handle<String> source, const ScriptDetails& script_details, - ScriptOriginOptions origin_options, ScriptStreamingData* streaming_data); + Isolate* isolate, Handle<String> source, + const ScriptDetails& script_details, ScriptOriginOptions origin_options, + ScriptStreamingData* streaming_data); // Create a shared function info object for the given function literal // node (the code may be lazily compiled). |