| Index: src/ppc/code-stubs-ppc.cc
|
| diff --git a/src/ppc/code-stubs-ppc.cc b/src/ppc/code-stubs-ppc.cc
|
| index 82b77977385e8fc3fa1cf2ee031135fc51a15c6c..3cab6681091a3bf9e6ebd3d340f077656a8a3867 100644
|
| --- a/src/ppc/code-stubs-ppc.cc
|
| +++ b/src/ppc/code-stubs-ppc.cc
|
| @@ -5013,6 +5013,9 @@ void ArrayConstructorStub::Generate(MacroAssembler* masm) {
|
| __ AssertUndefinedOrAllocationSite(r5, r7);
|
| }
|
|
|
| + // Enter the context of the Array function.
|
| + __ LoadP(cp, FieldMemOperand(r4, JSFunction::kContextOffset));
|
| +
|
| Label subclassing;
|
| __ cmp(r6, r4);
|
| __ bne(&subclassing);
|
|
|