diff options
Diffstat (limited to 'deps/v8/src/inspector/v8-debugger-script.h')
-rw-r--r-- | deps/v8/src/inspector/v8-debugger-script.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/deps/v8/src/inspector/v8-debugger-script.h b/deps/v8/src/inspector/v8-debugger-script.h index 6badd87c97..3e3885ed52 100644 --- a/deps/v8/src/inspector/v8-debugger-script.h +++ b/deps/v8/src/inspector/v8-debugger-script.h @@ -50,7 +50,7 @@ class V8DebuggerScript { static std::unique_ptr<V8DebuggerScript> CreateWasm( v8::Isolate* isolate, WasmTranslation* wasmTranslation, v8::Local<v8::debug::WasmScript> underlyingScript, String16 id, - String16 url, String16 source); + String16 url, int functionIndex); virtual ~V8DebuggerScript(); @@ -59,15 +59,16 @@ class V8DebuggerScript { bool hasSourceURL() const { return !m_sourceURL.isEmpty(); } const String16& sourceURL() const; virtual const String16& sourceMappingURL() const = 0; - const String16& source() const { return m_source; } - const String16& hash() const; - int startLine() const { return m_startLine; } - int startColumn() const { return m_startColumn; } - int endLine() const { return m_endLine; } - int endColumn() const { return m_endColumn; } + virtual const String16& source() const = 0; + virtual const String16& hash() const = 0; + virtual int startLine() const = 0; + virtual int startColumn() const = 0; + virtual int endLine() const = 0; + virtual int endColumn() const = 0; int executionContextId() const { return m_executionContextId; } virtual bool isLiveEdit() const = 0; virtual bool isModule() const = 0; + virtual bool isSourceLoadedLazily() const = 0; void setSourceURL(const String16&); virtual void setSourceMappingURL(const String16&) = 0; @@ -95,12 +96,6 @@ class V8DebuggerScript { String16 m_id; String16 m_url; String16 m_sourceURL; - String16 m_source; - mutable String16 m_hash; - int m_startLine = 0; - int m_startColumn = 0; - int m_endLine = 0; - int m_endColumn = 0; int m_executionContextId = 0; v8::Isolate* m_isolate; |