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

Unified Diff: test/mjsunit/debug-stepframe-clearing.js

Issue 1525173003: [debugger] remove step count parameter from prepare step. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
Index: test/mjsunit/debug-stepframe-clearing.js
diff --git a/test/mjsunit/debug-stepframe-clearing.js b/test/mjsunit/debug-stepframe-clearing.js
index c440e78dd2d296ef42c909468aa6eaff66837db6..dec46fd7d6d41b0d88879b13ccda5692a9cf19b7 100644
--- a/test/mjsunit/debug-stepframe-clearing.js
+++ b/test/mjsunit/debug-stepframe-clearing.js
@@ -48,7 +48,7 @@ function listener(event, exec_state, event_data, data) {
if (break_count >= 0 && break_count < 2) {
// 0, 1: Keep stepping through frames.
assertEquals(break_count, match_value);
- exec_state.prepareStep(Debug.StepAction.StepFrame, 1);
+ exec_state.prepareStep(Debug.StepAction.StepFrame);
} else if (break_count === 2) {
// 2: let the code run to a breakpoint we set. The load should
// go monomorphic.
@@ -58,7 +58,7 @@ function listener(event, exec_state, event_data, data) {
// call still have the ability to break like before?
assertEquals(break_count, match_value);
Debug.clearBreakPoint(bp_f1_line7);
- exec_state.prepareStep(Debug.StepAction.StepFrame, 1);
+ exec_state.prepareStep(Debug.StepAction.StepFrame);
} else {
assertEquals(4, break_count);
assertEquals(2, match_value);

Powered by Google App Engine
This is Rietveld 408576698