Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(530)

Unified Diff: src/inspector/v8-debugger-agent-impl.h

Issue 2493773003: [inspector] Introduce translation of wasm frames (Closed)
Patch Set: More signed/unsigned Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/inspector/v8-debugger-agent-impl.h
diff --git a/src/inspector/v8-debugger-agent-impl.h b/src/inspector/v8-debugger-agent-impl.h
index 4e8e336545631d344534410089666c6e45b53d1b..e8acf789a1c6a81b008e1b38c3426ad1b3cb6242 100644
--- a/src/inspector/v8-debugger-agent-impl.h
+++ b/src/inspector/v8-debugger-agent-impl.h
@@ -11,6 +11,7 @@
#include "src/inspector/java-script-call-frame.h"
#include "src/inspector/protocol/Debugger.h"
#include "src/inspector/protocol/Forward.h"
+#include "src/inspector/wasm-translation.h"
namespace v8_inspector {
@@ -142,6 +143,10 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend {
void didParseSource(std::unique_ptr<V8DebuggerScript>, bool success);
void willExecuteScript(int scriptId);
void didExecuteScript();
+ void newWasmScript(v8::Local<v8::Object> scriptWrapper);
+
+ void translateLocation(String16* scriptId, int* lineNumber,
+ int* columnNumber);
v8::Isolate* isolate() { return m_isolate; }
@@ -215,6 +220,10 @@ class V8DebuggerAgentImpl : public protocol::Debugger::Backend {
protocol::HashMap<String16, std::vector<std::pair<int, int>>>
m_blackboxedPositions;
+ WasmTranslation m_wasmTranslation;
+
+ friend class WasmTranslation;
+
DISALLOW_COPY_AND_ASSIGN(V8DebuggerAgentImpl);
};

Powered by Google App Engine
This is Rietveld 408576698