| Index: src/runtime.cc
|
| ===================================================================
|
| --- src/runtime.cc (revision 11394)
|
| +++ src/runtime.cc (working copy)
|
| @@ -8190,8 +8190,12 @@
|
| PrintF("]\n");
|
| }
|
| function->ReplaceCode(function->shared()->code());
|
| + // Flush optimized code cache for this function.
|
| + function->shared()->set_optimized_code_map(Smi::FromInt(0));
|
| } else {
|
| Deoptimizer::DeoptimizeFunction(*function);
|
| + // Flush optimized code cache for this function.
|
| + function->shared()->set_optimized_code_map(Smi::FromInt(0));
|
| }
|
| return isolate->heap()->undefined_value();
|
| }
|
|
|