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

Unified Diff: src/mirror-debugger.js

Issue 544143003: Store frame pointers (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.27
Patch Set: ptal 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') | src/runtime.cc » ('J')
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 897413cfda535284fefe7b5fc2361108c20fb958..1692f1fe8bfa7ecf4b7d21c271f4496501274ba3 100644
--- a/src/mirror-debugger.js
+++ b/src/mirror-debugger.js
@@ -1429,8 +1429,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;
@@ -1495,6 +1497,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') | src/runtime.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698