| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 9d914838f64152cfda4ba13d1d9a0d1f0c312a16..371f6d5e133ec07c4d424c3012cc30e39faf642a 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -96,7 +96,7 @@ void LCodeGen::SaveCallerDoubles() {
|
| BitVector* doubles = chunk()->allocated_double_registers();
|
| BitVector::Iterator save_iterator(doubles);
|
| while (!save_iterator.Done()) {
|
| - __ sdc1(DoubleRegister::FromAllocationIndex(save_iterator.Current()),
|
| + __ sdc1(DoubleRegister::from_code(save_iterator.Current()),
|
| MemOperand(sp, count * kDoubleSize));
|
| save_iterator.Advance();
|
| count++;
|
| @@ -112,7 +112,7 @@ void LCodeGen::RestoreCallerDoubles() {
|
| BitVector::Iterator save_iterator(doubles);
|
| int count = 0;
|
| while (!save_iterator.Done()) {
|
| - __ ldc1(DoubleRegister::FromAllocationIndex(save_iterator.Current()),
|
| + __ ldc1(DoubleRegister::from_code(save_iterator.Current()),
|
| MemOperand(sp, count * kDoubleSize));
|
| save_iterator.Advance();
|
| count++;
|
| @@ -403,12 +403,12 @@ bool LCodeGen::GenerateSafepointTable() {
|
|
|
|
|
| Register LCodeGen::ToRegister(int index) const {
|
| - return Register::FromAllocationIndex(index);
|
| + return Register::from_code(index);
|
| }
|
|
|
|
|
| DoubleRegister LCodeGen::ToDoubleRegister(int index) const {
|
| - return DoubleRegister::FromAllocationIndex(index);
|
| + return DoubleRegister::from_code(index);
|
| }
|
|
|
|
|
|
|