Index: src/ppc/code-stubs-ppc.cc |
diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc |
index 6e686e334689e6f3de1595bd3d5717177bdf76fa..0e4b725a1439ec7f0dce97a1e576ce6ddbe01c27 100644 |
--- a/src/ppc/code-stubs-ppc.cc |
+++ b/src/ppc/code-stubs-ppc.cc |
@@ -111,7 +111,7 @@ |
int param_count = descriptor.GetEnvironmentParameterCount(); |
{ |
// Call the runtime system in a fresh internal frame. |
- FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
+ FrameScope scope(masm, StackFrame::INTERNAL); |
DCHECK(param_count == 0 || |
r3.is(descriptor.GetEnvironmentParameterRegister(param_count - 1))); |
// Push arguments |
@@ -1182,15 +1182,11 @@ |
__ bind(&skip); |
// Compute the handler entry address and jump to it. |
- ConstantPoolUnavailableScope constant_pool_unavailable(masm); |
__ mov(r4, Operand(pending_handler_code_address)); |
__ LoadP(r4, MemOperand(r4)); |
__ mov(r5, Operand(pending_handler_offset_address)); |
__ LoadP(r5, MemOperand(r5)); |
__ addi(r4, r4, Operand(Code::kHeaderSize - kHeapObjectTag)); // Code start |
- if (FLAG_enable_embedded_constant_pool) { |
- __ LoadConstantPoolPointerRegisterFromCodeTargetAddress(r4); |
- } |
__ add(ip, r4, r5); |
__ Jump(ip); |
} |
@@ -1232,10 +1228,6 @@ |
// r7: argv |
__ li(r0, Operand(-1)); // Push a bad frame pointer to fail if it is used. |
__ push(r0); |
- if (FLAG_enable_embedded_constant_pool) { |
- __ li(kConstantPoolRegister, Operand::Zero()); |
- __ push(kConstantPoolRegister); |
- } |
int marker = type(); |
__ LoadSmiLiteral(r0, Smi::FromInt(marker)); |
__ push(r0); |
@@ -1550,7 +1542,7 @@ |
__ InvokeBuiltin(Builtins::INSTANCE_OF, JUMP_FUNCTION); |
} else { |
{ |
- FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
+ FrameScope scope(masm, StackFrame::INTERNAL); |
__ Push(r3, r4); |
__ InvokeBuiltin(Builtins::INSTANCE_OF, CALL_FUNCTION); |
} |
@@ -2561,7 +2553,7 @@ |
// r5 : Feedback vector |
// r6 : slot in feedback vector (Smi) |
// r4 : the function to call |
- FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
+ FrameScope scope(masm, StackFrame::INTERNAL); |
// Number-of-arguments register must be smi-tagged to call out. |
__ SmiTag(r3); |
@@ -2725,7 +2717,7 @@ |
static void EmitWrapCase(MacroAssembler* masm, int argc, Label* cont) { |
// Wrap the receiver and patch it back onto the stack. |
{ |
- FrameAndConstantPoolScope frame_scope(masm, StackFrame::INTERNAL); |
+ FrameScope frame_scope(masm, StackFrame::INTERNAL); |
__ Push(r4, r6); |
__ InvokeBuiltin(Builtins::TO_OBJECT, CALL_FUNCTION); |
__ pop(r4); |
@@ -3043,7 +3035,7 @@ |
// r6 - slot |
// r4 - function |
{ |
- FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
+ FrameScope scope(masm, StackFrame::INTERNAL); |
CreateWeakCellStub create_stub(masm->isolate()); |
__ Push(r4); |
__ CallStub(&create_stub); |
@@ -3071,7 +3063,7 @@ |
void CallICStub::GenerateMiss(MacroAssembler* masm) { |
- FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
+ FrameScope scope(masm, StackFrame::INTERNAL); |
// Push the function and feedback info. |
__ Push(r4, r5, r6); |
@@ -4040,7 +4032,7 @@ |
ExternalReference miss = |
ExternalReference(IC_Utility(IC::kCompareIC_Miss), isolate()); |
- FrameAndConstantPoolScope scope(masm, StackFrame::INTERNAL); |
+ FrameScope scope(masm, StackFrame::INTERNAL); |
__ Push(r4, r3); |
__ Push(r4, r3); |
__ LoadSmiLiteral(r0, Smi::FromInt(op())); |