| Index: src/ia32/lithium-codegen-ia32.cc
|
| diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc
|
| index b9286b7f64b9d9a3fb07827d099aeb46c9bd29cf..8a87efeb7260c7d81d4a5f1b34d2427a31c17a2f 100644
|
| --- a/src/ia32/lithium-codegen-ia32.cc
|
| +++ b/src/ia32/lithium-codegen-ia32.cc
|
| @@ -101,7 +101,7 @@
|
| BitVector::Iterator save_iterator(doubles);
|
| while (!save_iterator.Done()) {
|
| __ movsd(MemOperand(esp, count * kDoubleSize),
|
| - XMMRegister::from_code(save_iterator.Current()));
|
| + XMMRegister::FromAllocationIndex(save_iterator.Current()));
|
| save_iterator.Advance();
|
| count++;
|
| }
|
| @@ -116,8 +116,8 @@
|
| BitVector::Iterator save_iterator(doubles);
|
| int count = 0;
|
| while (!save_iterator.Done()) {
|
| - __ movsd(XMMRegister::from_code(save_iterator.Current()),
|
| - MemOperand(esp, count * kDoubleSize));
|
| + __ movsd(XMMRegister::FromAllocationIndex(save_iterator.Current()),
|
| + MemOperand(esp, count * kDoubleSize));
|
| save_iterator.Advance();
|
| count++;
|
| }
|
| @@ -514,13 +514,13 @@
|
| }
|
|
|
|
|
| -Register LCodeGen::ToRegister(int code) const {
|
| - return Register::from_code(code);
|
| -}
|
| -
|
| -
|
| -XMMRegister LCodeGen::ToDoubleRegister(int code) const {
|
| - return XMMRegister::from_code(code);
|
| +Register LCodeGen::ToRegister(int index) const {
|
| + return Register::FromAllocationIndex(index);
|
| +}
|
| +
|
| +
|
| +XMMRegister LCodeGen::ToDoubleRegister(int index) const {
|
| + return XMMRegister::FromAllocationIndex(index);
|
| }
|
|
|
|
|
|
|