Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 3f84462c457a96f99f931ac6bf9dd6ebaa27d196..f0ebc38efccb417380aace48e0681c36528dbd8e 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -593,7 +593,7 @@ |
while (!iterator.Done()) { |
// TODO(all): Is this supposed to save just the callee-saved doubles? It |
// looks like it's saving all of them. |
- FPRegister value = FPRegister::from_code(iterator.Current()); |
+ FPRegister value = FPRegister::FromAllocationIndex(iterator.Current()); |
__ Poke(value, count * kDoubleSize); |
iterator.Advance(); |
count++; |
@@ -611,7 +611,7 @@ |
while (!iterator.Done()) { |
// TODO(all): Is this supposed to restore just the callee-saved doubles? It |
// looks like it's restoring all of them. |
- FPRegister value = FPRegister::from_code(iterator.Current()); |
+ FPRegister value = FPRegister::FromAllocationIndex(iterator.Current()); |
__ Peek(value, count * kDoubleSize); |
iterator.Advance(); |
count++; |
@@ -1157,7 +1157,7 @@ |
Register LCodeGen::ToRegister(LOperand* op) const { |
// TODO(all): support zero register results, as ToRegister32. |
DCHECK((op != NULL) && op->IsRegister()); |
- return Register::from_code(op->index()); |
+ return Register::FromAllocationIndex(op->index()); |
} |
@@ -1181,7 +1181,7 @@ |
DoubleRegister LCodeGen::ToDoubleRegister(LOperand* op) const { |
DCHECK((op != NULL) && op->IsDoubleRegister()); |
- return DoubleRegister::from_code(op->index()); |
+ return DoubleRegister::FromAllocationIndex(op->index()); |
} |