| Index: src/ppc/macro-assembler-ppc.cc
|
| diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc
|
| index 81f3f9f7e9cca13a044e50602a7519b76f0d7572..ca466d77ebc1221d1d1bc19950cfd5e6f1370a0f 100644
|
| --- a/src/ppc/macro-assembler-ppc.cc
|
| +++ b/src/ppc/macro-assembler-ppc.cc
|
| @@ -3375,7 +3375,8 @@ void MacroAssembler::LoadAccessor(Register dst, Register holder,
|
| }
|
|
|
|
|
| -void MacroAssembler::CheckEnumCache(Register null_value, Label* call_runtime) {
|
| +void MacroAssembler::CheckEnumCache(Label* call_runtime) {
|
| + Register null_value = r8;
|
| Register empty_fixed_array_value = r9;
|
| LoadRoot(empty_fixed_array_value, Heap::kEmptyFixedArrayRootIndex);
|
| Label next, start;
|
| @@ -3389,6 +3390,7 @@ void MacroAssembler::CheckEnumCache(Register null_value, Label* call_runtime) {
|
| CmpSmiLiteral(r6, Smi::FromInt(kInvalidEnumCacheSentinel), r0);
|
| beq(call_runtime);
|
|
|
| + LoadRoot(null_value, Heap::kNullValueRootIndex);
|
| b(&start);
|
|
|
| bind(&next);
|
|
|