| Index: src/arm/lithium-codegen-arm.cc
|
| diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc
|
| index 3049ddbce2544e4ad20122e603b3f37c34665787..8f39544e6042b5a95b1db45898d8ea6ec17299ba 100644
|
| --- a/src/arm/lithium-codegen-arm.cc
|
| +++ b/src/arm/lithium-codegen-arm.cc
|
| @@ -72,7 +72,7 @@ void LCodeGen::SaveCallerDoubles() {
|
| BitVector* doubles = chunk()->allocated_double_registers();
|
| BitVector::Iterator save_iterator(doubles);
|
| while (!save_iterator.Done()) {
|
| - __ vstr(DwVfpRegister::FromAllocationIndex(save_iterator.Current()),
|
| + __ vstr(DoubleRegister::from_code(save_iterator.Current()),
|
| MemOperand(sp, count * kDoubleSize));
|
| save_iterator.Advance();
|
| count++;
|
| @@ -88,8 +88,8 @@ void LCodeGen::RestoreCallerDoubles() {
|
| BitVector::Iterator save_iterator(doubles);
|
| int count = 0;
|
| while (!save_iterator.Done()) {
|
| - __ vldr(DwVfpRegister::FromAllocationIndex(save_iterator.Current()),
|
| - MemOperand(sp, count * kDoubleSize));
|
| + __ vldr(DoubleRegister::from_code(save_iterator.Current()),
|
| + MemOperand(sp, count * kDoubleSize));
|
| save_iterator.Advance();
|
| count++;
|
| }
|
| @@ -405,13 +405,13 @@ bool LCodeGen::GenerateSafepointTable() {
|
| }
|
|
|
|
|
| -Register LCodeGen::ToRegister(int index) const {
|
| - return Register::FromAllocationIndex(index);
|
| +Register LCodeGen::ToRegister(int code) const {
|
| + return Register::from_code(code);
|
| }
|
|
|
|
|
| -DwVfpRegister LCodeGen::ToDoubleRegister(int index) const {
|
| - return DwVfpRegister::FromAllocationIndex(index);
|
| +DwVfpRegister LCodeGen::ToDoubleRegister(int code) const {
|
| + return DwVfpRegister::from_code(code);
|
| }
|
|
|
|
|
|
|