| Index: src/builtins/arm64/builtins-arm64.cc
|
| diff --git a/src/builtins/arm64/builtins-arm64.cc b/src/builtins/arm64/builtins-arm64.cc
|
| index 5f9522db386329e79ed08b49dc2d6f77d099f311..48551dea0003dba9bb713db36bf7733dd001c19f 100644
|
| --- a/src/builtins/arm64/builtins-arm64.cc
|
| +++ b/src/builtins/arm64/builtins-arm64.cc
|
| @@ -2458,11 +2458,9 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm,
|
| Label class_constructor;
|
| __ Ldr(x2, FieldMemOperand(x1, JSFunction::kSharedFunctionInfoOffset));
|
| __ Ldr(w3, FieldMemOperand(x2, SharedFunctionInfo::kCompilerHintsOffset));
|
| - __ TestAndBranchIfAnySet(
|
| - w3, (1 << SharedFunctionInfo::kIsDefaultConstructor) |
|
| - (1 << SharedFunctionInfo::kIsSubclassConstructor) |
|
| - (1 << SharedFunctionInfo::kIsBaseConstructor),
|
| - &class_constructor);
|
| + __ TestAndBranchIfAnySet(w3, FunctionKind::kClassConstructor
|
| + << SharedFunctionInfo::kFunctionKindShift,
|
| + &class_constructor);
|
|
|
| // Enter the context of the function; ToObject has to run in the function
|
| // context, and we also need to take the global proxy from the function
|
|
|