Index: src/debug.h |
diff --git a/src/debug.h b/src/debug.h |
index 67debc7543cfc265485c3e3db3832ce8f2489a99..2089cd307d4306c1fa16cb3e1fd2b66ccddb162d 100644 |
--- a/src/debug.h |
+++ b/src/debug.h |
@@ -116,7 +116,7 @@ class BreakLocationIterator { |
inline int code_position() { |
- return static_cast<int>(pc() - debug_info_->code()->entry()); |
+ return static_cast<int>(pc() - debug_info_->code()->instruction_start()); |
} |
inline int break_point() { return break_point_; } |
inline int position() { return position_; } |