Index: src/compiler/register-allocator.cc |
diff --git a/src/compiler/register-allocator.cc b/src/compiler/register-allocator.cc |
index 4e5e53b2e6da1d5eba133550d83a1bdb8d803518..7a72b9fd17b486835519930fa283fe9aa28e9952 100644 |
--- a/src/compiler/register-allocator.cc |
+++ b/src/compiler/register-allocator.cc |
@@ -1076,9 +1076,8 @@ void RegisterAllocator::MeetRegisterConstraintsForLastInstructionInBlock( |
// Create an unconstrained operand for the same virtual register |
// and insert a gap move from the fixed output to the operand. |
- UnallocatedOperand* output_copy = |
- new (code_zone()) UnallocatedOperand(UnallocatedOperand::ANY); |
- output_copy->set_virtual_register(output_vreg); |
+ UnallocatedOperand* output_copy = new (code_zone()) |
+ UnallocatedOperand(UnallocatedOperand::ANY, output_vreg); |
AddGapMove(gap_index, GapInstruction::START, output, output_copy); |
} |