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

Unified Diff: src/mirror-debugger.js

Issue 544143003: Store frame pointers (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.27
Patch Set: moved to v8 trunk, added a unittest, and fixed compile warning from mainline v8 build. Created 6 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 | « no previous file | src/runtime.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mirror-debugger.js
diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js
index b13b3fa8b2457f28ab0e0c7be00ff5547f943ac3..208905a6d80b309ba29153397cd8bf31faa25081 100644
--- a/src/mirror-debugger.js
+++ b/src/mirror-debugger.js
@@ -1528,8 +1528,10 @@ var kFrameDetailsLocalCountIndex = 4;
var kFrameDetailsSourcePositionIndex = 5;
var kFrameDetailsConstructCallIndex = 6;
var kFrameDetailsAtReturnIndex = 7;
-var kFrameDetailsFlagsIndex = 8;
-var kFrameDetailsFirstDynamicIndex = 9;
+var kFrameDetailsFramePointerHighIndex = 8;
+var kFrameDetailsFramePointerLowIndex = 9;
+var kFrameDetailsFlagsIndex = 10;
+var kFrameDetailsFirstDynamicIndex = 11;
var kFrameDetailsNameIndex = 0;
var kFrameDetailsValueIndex = 1;
@@ -1594,6 +1596,18 @@ FrameDetails.prototype.isAtReturn = function() {
return this.details_[kFrameDetailsAtReturnIndex];
};
+FrameDetails.prototype.framePointerHigh = function() {
+
+ %CheckExecutionState(this.break_id_);
+ return this.details_[kFrameDetailsFramePointerHighIndex];
+};
+
+
+FrameDetails.prototype.framePointerLow = function() {
+ %CheckExecutionState(this.break_id_);
+ return this.details_[kFrameDetailsFramePointerLowIndex];
+};
+
FrameDetails.prototype.isDebuggerFrame = function() {
%CheckExecutionState(this.break_id_);
« no previous file with comments | « no previous file | src/runtime.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698