Index: src/builtins/s390/builtins-s390.cc |
diff --git a/src/builtins/s390/builtins-s390.cc b/src/builtins/s390/builtins-s390.cc |
index d140427ed760b243d21499fd5e70cd08224853ec..91ae2c006bee03c0c2d6e4c0db25e739e23303c4 100644 |
--- a/src/builtins/s390/builtins-s390.cc |
+++ b/src/builtins/s390/builtins-s390.cc |
@@ -2461,7 +2461,9 @@ void Builtins::Generate_CallFunction(MacroAssembler* masm, |
Label class_constructor; |
__ LoadP(r4, FieldMemOperand(r3, JSFunction::kSharedFunctionInfoOffset)); |
__ LoadlW(r5, FieldMemOperand(r4, SharedFunctionInfo::kCompilerHintsOffset)); |
- __ TestBitMask(r5, SharedFunctionInfo::kClassConstructorBits, r0); |
+ __ TestBitMask(r5, FunctionKind::kClassConstructor |
+ << SharedFunctionInfo::kFunctionKindShift, |
+ r0); |
__ bne(&class_constructor); |
// Enter the context of the function; ToObject has to run in the function |