| Index: src/arm64/lithium-arm64.cc
|
| diff --git a/src/arm64/lithium-arm64.cc b/src/arm64/lithium-arm64.cc
|
| index e623718a1a323b59e9f672d335e08d22533f6ab3..5cc5b9d592eedc19a49ed4a2315a42f862d047e0 100644
|
| --- a/src/arm64/lithium-arm64.cc
|
| +++ b/src/arm64/lithium-arm64.cc
|
| @@ -375,14 +375,13 @@ const char* LArithmeticT::Mnemonic() const {
|
|
|
|
|
| LUnallocated* LChunkBuilder::ToUnallocated(Register reg) {
|
| - return new(zone()) LUnallocated(LUnallocated::FIXED_REGISTER,
|
| - Register::ToAllocationIndex(reg));
|
| + return new (zone()) LUnallocated(LUnallocated::FIXED_REGISTER, reg.code());
|
| }
|
|
|
|
|
| LUnallocated* LChunkBuilder::ToUnallocated(DoubleRegister reg) {
|
| - return new(zone()) LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER,
|
| - DoubleRegister::ToAllocationIndex(reg));
|
| + return new (zone())
|
| + LUnallocated(LUnallocated::FIXED_DOUBLE_REGISTER, reg.code());
|
| }
|
|
|
|
|
|
|