| Index: src/compiler/code-generator-impl.h
|
| diff --git a/src/compiler/code-generator-impl.h b/src/compiler/code-generator-impl.h
|
| index 2e95bec0cc17188fbfc8d1997bbba90771d7fc3a..83cbd22604a9fb921f6d58746f1d32128c4a0334 100644
|
| --- a/src/compiler/code-generator-impl.h
|
| +++ b/src/compiler/code-generator-impl.h
|
| @@ -96,11 +96,12 @@
|
| }
|
|
|
| Register ToRegister(InstructionOperand* op) {
|
| - return RegisterOperand::cast(op)->GetRegister();
|
| + return Register::FromAllocationIndex(RegisterOperand::cast(op)->index());
|
| }
|
|
|
| DoubleRegister ToDoubleRegister(InstructionOperand* op) {
|
| - return DoubleRegisterOperand::cast(op)->GetDoubleRegister();
|
| + return DoubleRegister::FromAllocationIndex(
|
| + DoubleRegisterOperand::cast(op)->index());
|
| }
|
|
|
| Constant ToConstant(InstructionOperand* op) {
|
|
|