| Index: src/compiler/register-allocator.cc
|
| diff --git a/src/compiler/register-allocator.cc b/src/compiler/register-allocator.cc
|
| index a4f3c6ef0ad5d8372ce99e18058b6f1cf0521710..6cdb51f5a6a4939b577af45069b995030ae16af5 100644
|
| --- a/src/compiler/register-allocator.cc
|
| +++ b/src/compiler/register-allocator.cc
|
| @@ -965,8 +965,8 @@ SpillRange* RegisterAllocator::AssignSpillRangeToLiveRange(LiveRange* range) {
|
|
|
| bool RegisterAllocator::TryReuseSpillForPhi(LiveRange* range) {
|
| DCHECK(FLAG_turbo_reuse_spill_slots);
|
| - DCHECK(range->HasNoSpillType());
|
| if (range->IsChild() || !range->is_phi()) return false;
|
| + DCHECK(range->HasNoSpillType());
|
|
|
| auto lookup = phi_map_.find(range->id());
|
| DCHECK(lookup != phi_map_.end());
|
|
|