aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler.h')
-rw-r--r--deps/v8/src/compiler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/compiler.h b/deps/v8/src/compiler.h
index e33d9fdf04..b370cdebf5 100644
--- a/deps/v8/src/compiler.h
+++ b/deps/v8/src/compiler.h
@@ -64,6 +64,12 @@ class V8_EXPORT_PRIVATE Compiler : public AllStatic {
IsCompiledScope* is_compiled_scope);
static bool CompileOptimized(Handle<JSFunction> function, ConcurrencyMode);
+ // Collect source positions for a function that has already been compiled to
+ // bytecode, but for which source positions were not collected (e.g. because
+ // they were not immediately needed).
+ static bool CollectSourcePositions(Isolate* isolate,
+ Handle<SharedFunctionInfo> shared);
+
V8_WARN_UNUSED_RESULT static MaybeHandle<SharedFunctionInfo>
CompileForLiveEdit(ParseInfo* parse_info, Isolate* isolate);