Index: src/compiler/ppc/code-generator-ppc.cc |
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc |
index f4fac6daff93403497dc4ef202896e9aab0a8098..936b1e038a92ebc34f486c3f1d90aa4605b9cf43 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -687,6 +687,10 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ mr(i.OutputRegister(), sp); |
DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
break; |
+ case kArchFramePointer: |
+ __ mr(i.OutputRegister(), fp); |
+ DCHECK_EQ(LeaveRC, i.OutputRCBit()); |
+ break; |
case kArchTruncateDoubleToI: |
// TODO(mbrandy): move slow call to stub out of line. |
__ TruncateDoubleToI(i.OutputRegister(), i.InputDoubleRegister(0)); |