| Index: src/deoptimizer.cc
|
| diff --git a/src/deoptimizer.cc b/src/deoptimizer.cc
|
| index 6e9ead7e2040c63fda2dbbe4dd3f5853866db775..f81d738734299a72f4450c56dd71415e4afccb6e 100644
|
| --- a/src/deoptimizer.cc
|
| +++ b/src/deoptimizer.cc
|
| @@ -322,6 +322,10 @@ void Deoptimizer::DeoptimizeMarkedCodeForContext(Context* context) {
|
| PrintF(scope.file(),
|
| " / %" V8PRIxPTR "]\n", reinterpret_cast<intptr_t>(function));
|
| }
|
| +
|
| + if (code->marked_for_instant_optimization()) {
|
| + Compiler::Optimize(function, "marked for instant optimization");
|
| + }
|
| }
|
| };
|
|
|
|
|