| Index: src/compiler/code-generator-impl.h
|
| diff --git a/src/compiler/code-generator-impl.h b/src/compiler/code-generator-impl.h
|
| index f0762e9bbec2e0657c6e8372e643c0eed4db47d0..d5158f61a66b06b6a89c960281889a09ffc1b587 100644
|
| --- a/src/compiler/code-generator-impl.h
|
| +++ b/src/compiler/code-generator-impl.h
|
| @@ -94,6 +94,12 @@ class InstructionOperandConverter {
|
| }
|
|
|
| Register ToRegister(InstructionOperand* op) {
|
| + if (op->kind() == InstructionOperand::STACK_POINTER) {
|
| + return StandardFrame::sp_register();
|
| + }
|
| + if (op->kind() == InstructionOperand::FRAME_POINTER) {
|
| + return StandardFrame::fp_register();
|
| + }
|
| return Register::FromAllocationIndex(RegisterOperand::cast(op)->index());
|
| }
|
|
|
|
|