| Index: src/debug.cc
|
| diff --git a/src/debug.cc b/src/debug.cc
|
| index df8eab79eb983f61608a54e4fdd1a34ffe414b46..b5e81c55cb239042c63d7147b2b3c56ba4ba7f9e 100644
|
| --- a/src/debug.cc
|
| +++ b/src/debug.cc
|
| @@ -1882,7 +1882,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);
|
| }
|
|
|