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

Unified Diff: src/debug/debug.h

Issue 2629823003: [wasm] Implement frame inspection for interpreted frames (Closed)
Patch Set: Document that the forward declaration is only needed for VS Created 3 years, 11 months 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
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | src/wasm/wasm-interpreter.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.h
diff --git a/src/debug/debug.h b/src/debug/debug.h
index 767a63416838d93bbc5317c46733fd3cc2721988..041cd732bebf3e72ce39fdb6e26f01949b4e429b 100644
--- a/src/debug/debug.h
+++ b/src/debug/debug.h
@@ -84,6 +84,10 @@ enum PromiseDebugActionName {
kDebugPromiseCollected,
};
+// Forward declaration. Without it, VS ignores the friend class declaration
+// below.
+class WasmCompiledModule;
+
class BreakLocation {
public:
static BreakLocation FromFrame(StandardFrame* frame);
@@ -130,6 +134,7 @@ class BreakLocation {
friend class CodeBreakIterator;
friend class BytecodeArrayBreakIterator;
+ friend class WasmCompiledModule;
};
class BreakIterator {
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | src/wasm/wasm-interpreter.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698