Index: runtime/vm/kernel_to_il.cc |
diff --git a/runtime/vm/kernel_to_il.cc b/runtime/vm/kernel_to_il.cc |
index 4ada7539e9aa809197f4222a06d763f7ebde1227..a584c0f4022cb06a012a68ea8ef480a8909fae1e 100644 |
--- a/runtime/vm/kernel_to_il.cc |
+++ b/runtime/vm/kernel_to_il.cc |
@@ -1850,15 +1850,19 @@ Fragment FlowGraphBuilder::CheckVariableTypeInCheckedMode( |
bool FlowGraphBuilder::NeedsDebugStepCheck(const Function& function, |
TokenPosition position) { |
- return FLAG_support_debugger && position.IsDebugPause() && |
- !function.is_native() && function.is_debuggable(); |
+ return position.IsDebugPause() && !function.is_native() && |
+ function.is_debuggable(); |
} |
bool FlowGraphBuilder::NeedsDebugStepCheck(Value* value, |
TokenPosition position) { |
- if (!FLAG_support_debugger || !position.IsDebugPause()) return false; |
+ if (!position.IsDebugPause()) { |
+ return false; |
+ } |
Definition* definition = value->definition(); |
- if (definition->IsConstant() || definition->IsLoadStaticField()) return true; |
+ if (definition->IsConstant() || definition->IsLoadStaticField()) { |
+ return true; |
+ } |
if (definition->IsAllocateObject()) { |
return !definition->AsAllocateObject()->closure_function().IsNull(); |
} |