Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index fece0b232d8328ec7e29133a20b6acee0cf280d5..932a96af7fba82c0d6f328279a04416ae3bdb62b 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7270,6 +7270,8 @@ class SharedFunctionInfo: public HeapObject { |
static const int kStrictModeBit = |
kStrictModeFunction + kCompilerHintsSmiTagSize; |
static const int kNativeBit = kNative + kCompilerHintsSmiTagSize; |
+ static const int kHasDuplicateParametersBit = |
+ kHasDuplicateParametersBit + kCompilerHintsSmiTagSize; |
static const int kClassConstructorBits = |
FunctionKind::kClassConstructor |
@@ -7280,6 +7282,8 @@ class SharedFunctionInfo: public HeapObject { |
// Allows to use byte-width instructions. |
static const int kStrictModeBitWithinByte = kStrictModeBit % kBitsPerByte; |
static const int kNativeBitWithinByte = kNativeBit % kBitsPerByte; |
+ static const int kHasDuplicateParametersBitWithinByte = |
+ kHasDuplicateParametersBit % kBitsPerByte; |
static const int kClassConstructorBitsWithinByte = |
FunctionKind::kClassConstructor << kCompilerHintsSmiTagSize; |
@@ -7299,6 +7303,8 @@ class SharedFunctionInfo: public HeapObject { |
static const int kStrictModeByteOffset = BYTE_OFFSET(kStrictModeFunction); |
static const int kNativeByteOffset = BYTE_OFFSET(kNative); |
static const int kFunctionKindByteOffset = BYTE_OFFSET(kFunctionKind); |
+ static const int kHasDuplicateParametersByteOffset = |
+ BYTE_OFFSET(kHasDuplicateParameters); |
#undef BYTE_OFFSET |
private: |