Index: src/debug/debug-interface.h |
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h |
index 752bc17d953b29936702ca381f3acbdb09f09b1e..11172eb03dddfd3d39d2bf467084d0bfaf61a934 100644 |
--- a/src/debug/debug-interface.h |
+++ b/src/debug/debug-interface.h |
@@ -198,9 +198,6 @@ class DebugInterface { |
int GetSourcePosition(const Location& location) const; |
}; |
- /** |
- * Return array of compiled scripts. |
- */ |
static void GetLoadedScripts(Isolate* isolate, |
PersistentValueVector<Script>& scripts); |
@@ -213,6 +210,8 @@ class DebugInterface { |
static std::pair<std::string, std::vector<std::tuple<uint32_t, int, int>>> |
DisassembleWasmFunction(Isolate* isolate, v8::Local<v8::Object> script, |
int function_index); |
+ static MaybeLocal<UnboundScript> CompileInspectorScript(Isolate* isolate, |
+ Local<String> source); |
}; |
} // namespace v8 |