Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index d4590e25fecc35ea1b995fd334cc03a76f02d5fe..8ef0137f37932366d664ab88b2e4f912d5248fa4 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7274,6 +7274,8 @@ class SharedFunctionInfo: public HeapObject { |
static const int kStrictModeBit = |
kStrictModeFunction + kCompilerHintsSmiTagSize; |
static const int kNativeBit = kNative + kCompilerHintsSmiTagSize; |
+ static const int kHasDuplicateParametersBit = |
+ kHasDuplicateParameters + kCompilerHintsSmiTagSize; |
static const int kClassConstructorBits = |
FunctionKind::kClassConstructor |
@@ -7284,6 +7286,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; |
@@ -7303,6 +7307,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: |