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 { |