| Index: src/ppc/lithium-codegen-ppc.cc
|
| diff --git a/src/ppc/lithium-codegen-ppc.cc b/src/ppc/lithium-codegen-ppc.cc
|
| index 5101ba932eda4913a5609db27998efb34c64a190..756b6476af4c396b1d7682387c6dc42c3352592c 100644
|
| --- a/src/ppc/lithium-codegen-ppc.cc
|
| +++ b/src/ppc/lithium-codegen-ppc.cc
|
| @@ -73,7 +73,7 @@ void LCodeGen::SaveCallerDoubles() {
|
| BitVector* doubles = chunk()->allocated_double_registers();
|
| BitVector::Iterator save_iterator(doubles);
|
| while (!save_iterator.Done()) {
|
| - __ stfd(DoubleRegister::FromAllocationIndex(save_iterator.Current()),
|
| + __ stfd(DoubleRegister::from_code(save_iterator.Current()),
|
| MemOperand(sp, count * kDoubleSize));
|
| save_iterator.Advance();
|
| count++;
|
| @@ -89,7 +89,7 @@ void LCodeGen::RestoreCallerDoubles() {
|
| BitVector::Iterator save_iterator(doubles);
|
| int count = 0;
|
| while (!save_iterator.Done()) {
|
| - __ lfd(DoubleRegister::FromAllocationIndex(save_iterator.Current()),
|
| + __ lfd(DoubleRegister::from_code(save_iterator.Current()),
|
| MemOperand(sp, count * kDoubleSize));
|
| save_iterator.Advance();
|
| count++;
|
| @@ -394,13 +394,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);
|
| }
|
|
|
|
|
| -DoubleRegister LCodeGen::ToDoubleRegister(int index) const {
|
| - return DoubleRegister::FromAllocationIndex(index);
|
| +DoubleRegister LCodeGen::ToDoubleRegister(int code) const {
|
| + return DoubleRegister::from_code(code);
|
| }
|
|
|
|
|
|
|