| Index: src/builtins/ppc/builtins-ppc.cc
|
| diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc
|
| index 62390158ca0402d54263799d3a871e3abcae2bab..7e2b82c9a3d69dc0709707d907994712c865d3b3 100644
|
| --- a/src/builtins/ppc/builtins-ppc.cc
|
| +++ b/src/builtins/ppc/builtins-ppc.cc
|
| @@ -2452,7 +2452,9 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm,
|
| Label class_constructor;
|
| __ LoadP(r5, FieldMemOperand(r4, JSFunction::kSharedFunctionInfoOffset));
|
| __ lwz(r6, FieldMemOperand(r5, SharedFunctionInfo::kCompilerHintsOffset));
|
| - __ TestBitMask(r6, SharedFunctionInfo::kClassConstructorBits, r0);
|
| + __ TestBitMask(r6, FunctionKind::kClassConstructor
|
| + << SharedFunctionInfo::kFunctionKindShift,
|
| + r0);
|
| __ bne(&class_constructor, cr0);
|
|
|
| // Enter the context of the function; ToObject has to run in the function
|
|
|