Index: runtime/vm/code_generator.cc |
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc |
index f963a6462b9b8e0072170d0e6512023123d1dd40..652cdc25a7e6126c09cc072d077260351e0000fa 100644 |
--- a/runtime/vm/code_generator.cc |
+++ b/runtime/vm/code_generator.cc |
@@ -1353,7 +1353,7 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) { |
ActivationFrame* frame = stack->FrameAt(i); |
// Variable locations and number are unknown when precompiling. |
const int num_vars = |
- FLAG_precompiled_mode ? 0 : frame->NumLocalVariables(); |
+ FLAG_precompiled_runtime ? 0 : frame->NumLocalVariables(); |
TokenPosition unused = TokenPosition::kNoSource; |
for (intptr_t v = 0; v < num_vars; v++) { |
frame->VariableAt(v, &var_name, &unused, &unused, &var_value); |