diff options
Diffstat (limited to 'deps/v8/src/compiler.h')
-rw-r--r-- | deps/v8/src/compiler.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/src/compiler.h b/deps/v8/src/compiler.h index 1477b4f3f1..4789759dfc 100644 --- a/deps/v8/src/compiler.h +++ b/deps/v8/src/compiler.h @@ -57,7 +57,9 @@ class V8_EXPORT_PRIVATE Compiler : public AllStatic { ClearExceptionFlag flag); static bool Compile(Handle<JSFunction> function, ClearExceptionFlag flag); static bool CompileOptimized(Handle<JSFunction> function, ConcurrencyMode); - static MaybeHandle<JSArray> CompileForLiveEdit(Handle<Script> script); + + V8_WARN_UNUSED_RESULT static MaybeHandle<SharedFunctionInfo> + CompileForLiveEdit(ParseInfo* parse_info, Isolate* isolate); // Creates a new task that when run will parse and compile the streamed // script associated with |streaming_data| and can be finalized with @@ -300,7 +302,6 @@ class OptimizedCompilationJob : public CompilationJob { OptimizedCompilationInfo* compilation_info() const { return compilation_info_; } - virtual size_t AllocatedMemory() const { return 0; } protected: // Overridden by the actual implementation. |