| Index: src/runtime/runtime-compiler.cc
|
| diff --git a/src/runtime/runtime-compiler.cc b/src/runtime/runtime-compiler.cc
|
| index a60252717573be68b9cc9b8d9d535863da0aeea4..cf76fa0b5d541c3c4f0053e1f1b0b3435c39b9f6 100644
|
| --- a/src/runtime/runtime-compiler.cc
|
| +++ b/src/runtime/runtime-compiler.cc
|
| @@ -132,9 +132,7 @@ RUNTIME_FUNCTION(Runtime_NotifyDeoptimized) {
|
| RUNTIME_ASSERT(frame->function()->IsJSFunction());
|
| DCHECK(frame->function() == *function);
|
|
|
| - // Avoid doing too much work when running with --always-opt and keep
|
| - // the optimized code around.
|
| - if (FLAG_always_opt || type == Deoptimizer::LAZY) {
|
| + if (type == Deoptimizer::LAZY) {
|
| return isolate->heap()->undefined_value();
|
| }
|
|
|
|
|