| Index: runtime/vm/debugger.cc
|
| diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
|
| index 8cfa2078f5280cca1efb8c0e4bb84fa751962b85..c75ac2c6e558c574ac023e49b499e9192e63fc6f 100644
|
| --- a/runtime/vm/debugger.cc
|
| +++ b/runtime/vm/debugger.cc
|
| @@ -1122,8 +1122,7 @@ RawFunction* Debugger::ResolveFunction(const Library& library,
|
| // that inline the function that contains the newly created breakpoint.
|
| // We currently don't have this info so we deoptimize all functions.
|
| void Debugger::DeoptimizeWorld() {
|
| - // Deoptimize all functions in stack activation frames.
|
| - DeoptimizeAll();
|
| + DeoptimizeFunctionsOnStack();
|
| // Iterate over all classes, deoptimize functions.
|
| // TODO(hausner): Could possibly be combined with RemoveOptimizedCode()
|
| const ClassTable& class_table = *isolate_->class_table();
|
|
|