| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index 4fe42cdc81c6c0aa30317c96daf47d843bc54faa..eafa6c1575090699c342094a8fc8bab0b34f8fe2 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6700,6 +6700,9 @@ class SharedFunctionInfo: public HeapObject {
|
| static const int kNativeBitWithinByte =
|
| (kNative + kCompilerHintsSmiTagSize) % kBitsPerByte;
|
|
|
| + static const int kBoundBitWithinByte =
|
| + (kBoundFunction + kCompilerHintsSmiTagSize) % kBitsPerByte;
|
| +
|
| #if defined(V8_TARGET_LITTLE_ENDIAN)
|
| static const int kStrictModeByteOffset = kCompilerHintsOffset +
|
| (kStrictModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte;
|
| @@ -6708,6 +6711,9 @@ class SharedFunctionInfo: public HeapObject {
|
| (kStrongModeFunction + kCompilerHintsSmiTagSize) / kBitsPerByte;
|
| static const int kNativeByteOffset = kCompilerHintsOffset +
|
| (kNative + kCompilerHintsSmiTagSize) / kBitsPerByte;
|
| + static const int kBoundByteOffset =
|
| + kCompilerHintsOffset +
|
| + (kBoundFunction + kCompilerHintsSmiTagSize) / kBitsPerByte;
|
| #elif defined(V8_TARGET_BIG_ENDIAN)
|
| static const int kStrictModeByteOffset = kCompilerHintsOffset +
|
| (kCompilerHintsSize - 1) -
|
| @@ -6718,6 +6724,9 @@ class SharedFunctionInfo: public HeapObject {
|
| static const int kNativeByteOffset = kCompilerHintsOffset +
|
| (kCompilerHintsSize - 1) -
|
| ((kNative + kCompilerHintsSmiTagSize) / kBitsPerByte);
|
| + static const int kBoundByteOffset =
|
| + kCompilerHintsOffset + (kCompilerHintsSize - 1) -
|
| + ((kBoundFunction + kCompilerHintsSmiTagSize) / kBitsPerByte);
|
| #else
|
| #error Unknown byte ordering
|
| #endif
|
|
|