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 e20b5ec6e75be1d5b8a29d1555c2f2085567735b..dabd1bed7da03d41855e37f6431a291b1aa81462 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -651,13 +651,7 @@ void CodeGenerator::AssemblePrepareTailCall(int stack_param_delta) { |
frame_access_state()->IncreaseSPDelta(-sp_slot_delta); |
} |
if (frame()->needs_frame()) { |
- if (FLAG_enable_embedded_constant_pool) { |
- __ LoadP(kConstantPoolRegister, |
- MemOperand(fp, StandardFrameConstants::kConstantPoolOffset)); |
- } |
- __ LoadP(r0, MemOperand(fp, StandardFrameConstants::kCallerPCOffset)); |
- __ LoadP(fp, MemOperand(fp, StandardFrameConstants::kCallerFPOffset)); |
- __ mtlr(r0); |
+ __ RestoreFrameStateForTailCall(); |
} |
frame_access_state()->SetFrameAccessToSP(); |
} |