| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index d06804b575a100b3167353243b25bef53b44b80f..455db89e10866b89e9592ac747a65be9572e83ee 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -351,6 +351,10 @@ void Deoptimizer::DeoptimizeMarkedCodeForContext(Context* context) {
|
| PrintF(scope.file(),
|
| " / %" V8PRIxPTR "]\n", reinterpret_cast<intptr_t>(function));
|
| }
|
| +
|
| + if (code->marked_for_reoptimization()) {
|
| + function->Optimize("marked for reoptimization");
|
| + }
|
| }
|
| };
|
|
|
|
|