Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 747548b14f7e8f469810e8c7b129434aae90ec0d..6e861cae69d56c9c0d45512ee1193b025ba6b442 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()->last_step_action() != StepNone) { |
isolate->debug()->PrepareStepIn(fun); |
} |
if (isolate->needs_side_effect_check() && |