| Index: src/lithium-allocator.cc
|
| diff --git a/src/lithium-allocator.cc b/src/lithium-allocator.cc
|
| index eae2995695bbf9f971daa7f12cabaa320c0b0663..16f4c0a79aacf08c5261dd3374657d8ed6a80fde 100644
|
| --- a/src/lithium-allocator.cc
|
| +++ b/src/lithium-allocator.cc
|
| @@ -634,9 +634,11 @@ LOperand* LAllocator::AllocateFixed(LUnallocated* operand,
|
| operand->ConvertTo(LOperand::STACK_SLOT, operand->fixed_slot_index());
|
| } else if (operand->HasFixedRegisterPolicy()) {
|
| int reg_index = operand->fixed_register_index();
|
| + modified_registers_ |= 1 << reg_index;
|
| operand->ConvertTo(LOperand::REGISTER, reg_index);
|
| } else if (operand->HasFixedDoubleRegisterPolicy()) {
|
| int reg_index = operand->fixed_register_index();
|
| + modified_double_registers_ |= 1 << reg_index;
|
| operand->ConvertTo(LOperand::DOUBLE_REGISTER, reg_index);
|
| } else {
|
| UNREACHABLE();
|
| @@ -1101,6 +1103,8 @@ bool LAllocator::Allocate(LChunk* chunk) {
|
| assigned_double_registers_ =
|
| new(chunk->zone()) BitVector(DoubleRegister::NumAllocatableRegisters(),
|
| chunk->zone());
|
| + modified_registers_ = kRegListEmpty;
|
| + modified_double_registers_ = kRegListEmpty;
|
| MeetRegisterConstraints();
|
| if (!AllocationOk()) return false;
|
| ResolvePhis();
|
|
|