Index: src/mips/builtins-mips.cc |
diff --git a/src/mips/builtins-mips.cc b/src/mips/builtins-mips.cc |
index 36c1b63c4f1784c826dafc81bfe1f7ae9194de5d..753cf75848d0c99e7d46e92a36eb7b3f90dd0c48 100644 |
--- a/src/mips/builtins-mips.cc |
+++ b/src/mips/builtins-mips.cc |
@@ -2038,7 +2038,7 @@ void Builtins::Generate_Construct(MacroAssembler* masm) { |
// Check if target has a [[Construct]] internal method. |
__ lbu(t3, FieldMemOperand(t1, Map::kBitFieldOffset)); |
- __ And(t3, t3, Operand(1 << Map::kIsCallable)); |
+ __ And(t3, t3, Operand(1 << Map::kIsConstructor)); |
__ Branch(&non_constructor, eq, t3, Operand(zero_reg)); |
// Only dispatch to proxies after checking whether they are constructors. |