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

Unified Diff: src/debug/debug.js

Issue 1525993002: [debugger] remove frame argument for prepare step. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 5 years 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/debug/debug.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug.js
diff --git a/src/debug/debug.js b/src/debug/debug.js
index a3c8244b370a6fe671ad101fe4ba3563e80fa37b..fa0a7912c0592f0f93c2378f59d666eb22755d64 100644
--- a/src/debug/debug.js
+++ b/src/debug/debug.js
@@ -943,17 +943,11 @@ function ExecutionState(break_id) {
this.selected_frame = 0;
}
-ExecutionState.prototype.prepareStep = function(opt_action, opt_count,
- opt_callframe) {
+ExecutionState.prototype.prepareStep = function(opt_action, opt_count) {
var action = Debug.StepAction.StepIn;
if (!IS_UNDEFINED(opt_action)) action = TO_NUMBER(opt_action);
var count = opt_count ? TO_NUMBER(opt_count) : 1;
- var callFrameId = 0;
- if (!IS_UNDEFINED(opt_callframe)) {
- callFrameId = opt_callframe.details_.frameId();
- }
-
- return %PrepareStep(this.break_id, action, count, callFrameId);
+ return %PrepareStep(this.break_id, action, count);
};
ExecutionState.prototype.evaluateGlobal = function(source, disable_break,
« no previous file with comments | « src/debug/debug.cc ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698