| Index: src/compiler/register-allocator-verifier.cc
|
| diff --git a/src/compiler/register-allocator-verifier.cc b/src/compiler/register-allocator-verifier.cc
|
| index 0b775d29e1d83620eb1bc9504a5e8dd315f2dbbb..f23d24433f8dcfea5e1c45f1556046f20794af16 100644
|
| --- a/src/compiler/register-allocator-verifier.cc
|
| +++ b/src/compiler/register-allocator-verifier.cc
|
| @@ -155,7 +155,7 @@
|
| int vreg = unallocated->virtual_register();
|
| constraint->virtual_register_ = vreg;
|
| if (unallocated->basic_policy() == UnallocatedOperand::FIXED_SLOT) {
|
| - constraint->type_ = sequence()->IsFloat(vreg) ? kDoubleSlot : kSlot;
|
| + constraint->type_ = kFixedSlot;
|
| constraint->value_ = unallocated->fixed_slot_index();
|
| } else {
|
| switch (unallocated->extended_policy()) {
|
| @@ -185,7 +185,11 @@
|
| }
|
| break;
|
| case UnallocatedOperand::MUST_HAVE_SLOT:
|
| - constraint->type_ = sequence()->IsFloat(vreg) ? kDoubleSlot : kSlot;
|
| + if (sequence()->IsFloat(vreg)) {
|
| + constraint->type_ = kDoubleSlot;
|
| + } else {
|
| + constraint->type_ = kSlot;
|
| + }
|
| break;
|
| case UnallocatedOperand::SAME_AS_FIRST_INPUT:
|
| constraint->type_ = kSameAsFirst;
|
|
|