Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index 4fe42cdc81c6c0aa30317c96daf47d843bc54faa..ab12ca765129b87f350d924cbf0d445fdcbffa16 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) - |
| + ((kBound + kCompilerHintsSmiTagSize) / kBitsPerByte); |
|
paul.l...
2015/08/25 01:10:08
Typo: this must be kBoundFunction
|
| #else |
| #error Unknown byte ordering |
| #endif |