| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index 7ef838ab10f5f127d63e8e310adf59be7a0bb9c8..d810a7eb31fc86f326da7dbd8ac098cd7bb64503 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -89,7 +89,7 @@ void LCodeGen::SaveCallerDoubles() {
|
| BitVector::Iterator save_iterator(doubles);
|
| while (!save_iterator.Done()) {
|
| __ movsd(MemOperand(rsp, count * kDoubleSize),
|
| - XMMRegister::FromAllocationIndex(save_iterator.Current()));
|
| + XMMRegister::from_code(save_iterator.Current()));
|
| save_iterator.Advance();
|
| count++;
|
| }
|
| @@ -104,7 +104,7 @@ void LCodeGen::RestoreCallerDoubles() {
|
| BitVector::Iterator save_iterator(doubles);
|
| int count = 0;
|
| while (!save_iterator.Done()) {
|
| - __ movsd(XMMRegister::FromAllocationIndex(save_iterator.Current()),
|
| + __ movsd(XMMRegister::from_code(save_iterator.Current()),
|
| MemOperand(rsp, count * kDoubleSize));
|
| save_iterator.Advance();
|
| count++;
|
| @@ -437,12 +437,12 @@ bool LCodeGen::GenerateSafepointTable() {
|
|
|
|
|
| Register LCodeGen::ToRegister(int index) const {
|
| - return Register::FromAllocationIndex(index);
|
| + return Register::from_code(index);
|
| }
|
|
|
|
|
| XMMRegister LCodeGen::ToDoubleRegister(int index) const {
|
| - return XMMRegister::FromAllocationIndex(index);
|
| + return XMMRegister::from_code(index);
|
| }
|
|
|
|
|
|
|