Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index 6ec462a7f8c95fee86c28f0a38607c2d19ecac18..faa208f7e2d3d0351114c8bf506f681345b13b2f 100644 |
--- a/src/mips64/builtins-mips64.cc |
+++ b/src/mips64/builtins-mips64.cc |
@@ -2028,7 +2028,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. |