| Index: src/compiler/register-allocator.cc
|
| diff --git a/src/compiler/register-allocator.cc b/src/compiler/register-allocator.cc
|
| index 28c99b95544ba4e7c3839730f5e4ab117f0e3087..101a10ae5b55ad4981d8c464df117d2c9d5ccae6 100644
|
| --- a/src/compiler/register-allocator.cc
|
| +++ b/src/compiler/register-allocator.cc
|
| @@ -1367,7 +1367,7 @@ void ConstraintBuilder::MeetConstraintsAfter(int instr_index) {
|
| // This value is produced on the stack, we never need to spill it.
|
| if (first_output->IsStackSlot()) {
|
| DCHECK(StackSlotOperand::cast(first_output)->index() <
|
| - data()->frame()->GetSpillSlotCount());
|
| + data()->frame()->GetTotalFrameSlotCount());
|
| range->SetSpillOperand(StackSlotOperand::cast(first_output));
|
| range->SetSpillStartIndex(instr_index + 1);
|
| assigned = true;
|
|
|