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

Unified Diff: src/debug.h

Issue 24791002: Thumb2 Backend: Thumb2 changes for Deoptimization and Code Aging Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « src/builtins.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_; }
« no previous file with comments | « src/builtins.cc ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698