Index: runtime/vm/code_generator.cc |
diff --git a/runtime/vm/code_generator.cc b/runtime/vm/code_generator.cc |
index b520549b252d26f359b8ffb50923e3df6def0383..0cd7a05af92a9bd522c00029c83c239a5e24852a 100644 |
--- a/runtime/vm/code_generator.cc |
+++ b/runtime/vm/code_generator.cc |
@@ -1169,7 +1169,7 @@ DEFINE_RUNTIME_ENTRY(StackOverflow, 0) { |
} |
if (do_deopt) { |
// TODO(turnidge): Consider using DeoptimizeAt instead. |
- DeoptimizeAll(); |
+ DeoptimizeFunctionsOnStack(); |
} |
if (do_stacktrace) { |
String& var_name = String::Handle(); |
@@ -1468,7 +1468,7 @@ void DeoptimizeAt(const Code& optimized_code, uword pc) { |
// Currently checks only that all optimized frames have kDeoptIndex |
// and unoptimized code has the kDeoptAfter. |
-void DeoptimizeAll() { |
+void DeoptimizeFunctionsOnStack() { |
DartFrameIterator iterator; |
StackFrame* frame = iterator.NextFrame(); |
Code& optimized_code = Code::Handle(); |