| Index: src/compiler.cc
|
| diff --git a/src/compiler.cc b/src/compiler.cc
|
| index 7f5c5975a841fb17a68fff6579a62ac3c861e027..761c33755ea730ddf3c77233c5308149a196fa44 100644
|
| --- a/src/compiler.cc
|
| +++ b/src/compiler.cc
|
| @@ -448,7 +448,7 @@ bool ShouldUseIgnition(CompilationInfo* info) {
|
| // When requesting debug code as a replacement for existing code, we provide
|
| // the same kind as the existing code (to prevent implicit tier-change).
|
| if (info->is_debug() && info->shared_info()->is_compiled()) {
|
| - return info->shared_info()->HasBytecodeArray();
|
| + return !info->shared_info()->HasBaselineCode();
|
| }
|
|
|
| // Since we can't OSR from Ignition, skip Ignition for asm.js functions.
|
|
|