| Index: src/runtime/runtime-compiler.cc
|
| diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc
|
| index 0b6677a0433256df9631cb416330f7344abfc4b0..4cfa84ac44592a6e9fc4d01584ca77e4f625b0b2 100644
|
| --- a/src/runtime/runtime-compiler.cc
|
| +++ b/src/runtime/runtime-compiler.cc
|
| @@ -151,11 +151,11 @@ RUNTIME_FUNCTION(Runtime_NotifyDeoptimized) {
|
| PrintF("]\n");
|
| }
|
| function->ReplaceCode(function->shared()->code());
|
| - // Evict optimized code for this function from the cache so that it
|
| - // doesn't get used for new closures.
|
| - function->shared()->EvictFromOptimizedCodeMap(*optimized_code,
|
| - "notify deoptimized");
|
| }
|
| + // Evict optimized code for this function from the cache so that it
|
| + // doesn't get used for new closures.
|
| + function->shared()->EvictFromOptimizedCodeMap(*optimized_code,
|
| + "notify deoptimized");
|
| } else {
|
| // TODO(titzer): we should probably do DeoptimizeCodeList(code)
|
| // unconditionally if the code is not already marked for deoptimization.
|
|
|