| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index 0d555e60320a9cd1d341148ca8ddf16de69aa367..fe3783d5c11c26d0b6e64dff2cf52e8975316492 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -1808,7 +1808,7 @@ RUNTIME_FUNCTION(Runtime_DebugOnFunctionCall) {
|
| HandleScope scope(isolate);
|
| DCHECK_EQ(1, args.length());
|
| CONVERT_ARG_HANDLE_CHECKED(JSFunction, fun, 0);
|
| - if (isolate->debug()->last_step_action() >= StepIn) {
|
| + if (isolate->debug()->step_into_function_call_requested()) {
|
| isolate->debug()->PrepareStepIn(fun);
|
| }
|
| if (isolate->needs_side_effect_check() &&
|
|
|