Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 4823243f2384b510771dd53a76dfa3bdb80c9471..2172695e78030f8d8a6254a3eba886fba21106cd 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7406,6 +7406,8 @@ class SharedFunctionInfo: public HeapObject { |
// Allows to use byte-width instructions. |
static const int kStrictModeBitWithinByte = |
(kStrictModeFunction + kCompilerHintsSmiTagSize) % kBitsPerByte; |
+ static const int kStrongModeBitWithinByte = |
+ (kStrongModeFunction + kCompilerHintsSmiTagSize) % kBitsPerByte; |
static const int kNativeBitWithinByte = |
(kNative + kCompilerHintsSmiTagSize) % kBitsPerByte; |
@@ -7413,12 +7415,18 @@ class SharedFunctionInfo: public HeapObject { |
#if defined(V8_TARGET_LITTLE_ENDIAN) |
static const int kStrictModeByteOffset = kCompilerHintsOffset + |
(kStrictModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte; |
+ static const int kStrongModeByteOffset = |
+ kCompilerHintsOffset + |
+ (kStrongModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte; |
static const int kNativeByteOffset = kCompilerHintsOffset + |
(kNative + kCompilerHintsSmiTagSize) / kBitsPerByte; |
#elif defined(V8_TARGET_BIG_ENDIAN) |
static const int kStrictModeByteOffset = kCompilerHintsOffset + |
(kCompilerHintsSize - 1) - |
((kStrictModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte); |
+ static const int kStrongModeByteOffset = |
+ kCompilerHintsOffset + (kCompilerHintsSize - 1) - |
+ ((kStrongModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte); |
static const int kNativeByteOffset = kCompilerHintsOffset + |
(kCompilerHintsSize - 1) - |
((kNative + kCompilerHintsSmiTagSize) / kBitsPerByte); |