commit | 4a90d5fbbb6802c59093b866f3478a814bf02b95 | [log] [tgz] |
---|---|---|
author | Ben Murdoch <benm@google.com> | Tue Mar 22 12:00:34 2016 +0000 |
committer | Dirk Vogt <dirk@fairphone.com> | Fri Mar 17 16:05:42 2017 +0100 |
tree | 486867e3a04e7f17454c94a4c97891bb0e237f1f | |
parent | 3821a70061b1b2077ee51c70eda717bddac94f58 [diff] [blame] |
Upgrade V8 to version 4.9.385.28 https://chromium.googlesource.com/v8/v8/+/4.9.385.28 FPIIM-449 Change-Id: I4b2e74289d4bf3667f2f3dc8aa2e541f63e26eb4
diff --git a/test/mjsunit/debug-stepin-call-function-stub.js b/test/mjsunit/debug-stepin-call-function-stub.js index 053b8bf..b3e385b 100644 --- a/test/mjsunit/debug-stepin-call-function-stub.js +++ b/test/mjsunit/debug-stepin-call-function-stub.js
@@ -42,11 +42,11 @@ function listener(event, exec_state, event_data, data) { try { if (event == Debug.DebugEvent.Break) { - if (state == 0) { + if (state < step_in_count) { // Step into f(). - exec_state.prepareStep(Debug.StepAction.StepIn, step_in_count); - state = 2; - } else if (state == 2) { + exec_state.prepareStep(Debug.StepAction.StepIn); + state++; + } else { assertEquals(expected_source_line_text, event_data.sourceLineText()); assertEquals(expected_function_name, event_data.func().name());