Index: src/debug/debug.h |
diff --git a/src/debug/debug.h b/src/debug/debug.h |
index 5dad8a8ceb2581d294109e734f1fcaf86c1db1ec..ae2a26d41a305ab0b231e9c667d16dd5cdd1e016 100644 |
--- a/src/debug/debug.h |
+++ b/src/debug/debug.h |
@@ -17,6 +17,7 @@ |
#include "src/flags.h" |
#include "src/frames.h" |
#include "src/globals.h" |
+#include "src/objects/debug-objects.h" |
#include "src/runtime/runtime.h" |
#include "src/source-position-table.h" |
#include "src/string-stream.h" |
@@ -177,10 +178,7 @@ class CodeBreakIterator : public BreakIterator { |
void SkipToPosition(int position, BreakPositionAlignment alignment); |
- int code_offset() override { |
- return static_cast<int>(rinfo()->pc() - |
- debug_info_->DebugCode()->instruction_start()); |
- } |
+ int code_offset() override; |
private: |
int GetModeMask(); |