| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index bcff35a7f4d60e1d6c17d7471303699ea2a56a27..e000229456029dfe67aef634d8831eff4446d6a1 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -1922,7 +1922,8 @@ void Debug::PrepareForBreakPoints() {
|
| if (kind == Code::OPTIMIZED_FUNCTION) {
|
| // Optimized code can only get here if DeoptimizeAll did not
|
| // deoptimize turbo fan code.
|
| - DCHECK(!FLAG_turbo_deoptimization);
|
| + DCHECK(!FLAG_turbo_asm_deoptimization);
|
| + DCHECK(function->shared()->asm_function());
|
| DCHECK(function->code()->is_turbofanned());
|
| function->ReplaceCode(fallback);
|
| }
|
|
|