| Index: src/runtime/runtime-test.cc
|
| diff --git a/src/runtime/runtime-test.cc b/src/runtime/runtime-test.cc
|
| index 783092c050baaf5a16c8f0922725c6d1f2055c03..f34045a8294acc8112d7601e9bfcd5ba7d9e7d05 100644
|
| --- a/src/runtime/runtime-test.cc
|
| +++ b/src/runtime/runtime-test.cc
|
| @@ -48,7 +48,7 @@ RUNTIME_FUNCTION(Runtime_DeoptimizeFunction) {
|
|
|
| // TODO(turbofan): Deoptimization is not supported yet.
|
| if (function->code()->is_turbofanned() &&
|
| - function->shared()->asm_function() && !FLAG_turbo_asm_deoptimization) {
|
| + function->shared()->asm_function()) {
|
| return isolate->heap()->undefined_value();
|
| }
|
|
|
| @@ -74,7 +74,7 @@ RUNTIME_FUNCTION(Runtime_DeoptimizeNow) {
|
|
|
| // TODO(turbofan): Deoptimization is not supported yet.
|
| if (function->code()->is_turbofanned() &&
|
| - function->shared()->asm_function() && !FLAG_turbo_asm_deoptimization) {
|
| + function->shared()->asm_function()) {
|
| return isolate->heap()->undefined_value();
|
| }
|
|
|
|
|