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 55ddf7278ef60e658c9a76de57ca2ca30fc8dd84..2bf4860d4d7030cb8c7627cb8f176fe2e2400e55 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -771,6 +771,14 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
frame_access_state()->ClearSPDelta(); |
break; |
} |
+ case kArchTailCallAddress: { |
+ int stack_param_delta = i.InputInt32(instr->InputCount() - 1); |
+ AssembleDeconstructActivationRecord(stack_param_delta); |
+ CHECK(!instr->InputAt(0)->IsImmediate()); |
+ __ Jump(i.InputRegister(0)); |
+ frame_access_state()->ClearSPDelta(); |
+ break; |
+ } |
case kArchCallJSFunction: { |
v8::internal::Assembler::BlockTrampolinePoolScope block_trampoline_pool( |
masm()); |