| Index: src/ppc/code-stubs-ppc.cc
|
| diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
|
| index d6573657cafc82d3fd4fbaabafee975b639fc560..d0f420cc255661e0d818d6d111b2991f6291b2e0 100644
|
| --- a/src/ppc/code-stubs-ppc.cc
|
| +++ b/src/ppc/code-stubs-ppc.cc
|
| @@ -5104,34 +5104,6 @@ void FastNewStrictArgumentsStub::Generate(MacroAssembler* masm) {
|
| __ TailCallRuntime(Runtime::kNewStrictArguments);
|
| }
|
|
|
| -void LoadGlobalViaContextStub::Generate(MacroAssembler* masm) {
|
| - Register context = cp;
|
| - Register result = r3;
|
| - Register slot = r5;
|
| -
|
| - // Go up the context chain to the script context.
|
| - for (int i = 0; i < depth(); ++i) {
|
| - __ LoadP(result, ContextMemOperand(context, Context::PREVIOUS_INDEX));
|
| - context = result;
|
| - }
|
| -
|
| - // Load the PropertyCell value at the specified slot.
|
| - __ ShiftLeftImm(r0, slot, Operand(kPointerSizeLog2));
|
| - __ add(result, context, r0);
|
| - __ LoadP(result, ContextMemOperand(result));
|
| - __ LoadP(result, FieldMemOperand(result, PropertyCell::kValueOffset));
|
| -
|
| - // If the result is not the_hole, return. Otherwise, handle in the runtime.
|
| - __ CompareRoot(result, Heap::kTheHoleValueRootIndex);
|
| - __ Ret(ne);
|
| -
|
| - // Fallback to runtime.
|
| - __ SmiTag(slot);
|
| - __ Push(slot);
|
| - __ TailCallRuntime(Runtime::kLoadGlobalViaContext);
|
| -}
|
| -
|
| -
|
| void StoreGlobalViaContextStub::Generate(MacroAssembler* masm) {
|
| Register value = r3;
|
| Register slot = r5;
|
|
|