OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** \mainpage V8 API Reference Guide | 5 /** \mainpage V8 API Reference Guide |
6 * | 6 * |
7 * V8 is Google's open source JavaScript engine. | 7 * V8 is Google's open source JavaScript engine. |
8 * | 8 * |
9 * This set of documents provides reference material generated from the | 9 * This set of documents provides reference material generated from the |
10 * V8 header file, include/v8.h. | 10 * V8 header file, include/v8.h. |
(...skipping 6897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6908 */ | 6908 */ |
6909 class Internals { | 6909 class Internals { |
6910 public: | 6910 public: |
6911 // These values match non-compiler-dependent values defined within | 6911 // These values match non-compiler-dependent values defined within |
6912 // the implementation of v8. | 6912 // the implementation of v8. |
6913 static const int kHeapObjectMapOffset = 0; | 6913 static const int kHeapObjectMapOffset = 0; |
6914 static const int kMapInstanceTypeAndBitFieldOffset = | 6914 static const int kMapInstanceTypeAndBitFieldOffset = |
6915 1 * kApiPointerSize + kApiIntSize; | 6915 1 * kApiPointerSize + kApiIntSize; |
6916 static const int kStringResourceOffset = 3 * kApiPointerSize; | 6916 static const int kStringResourceOffset = 3 * kApiPointerSize; |
6917 | 6917 |
6918 static const int kOddballKindOffset = 3 * kApiPointerSize; | 6918 static const int kOddballKindOffset = 4 * kApiPointerSize; |
6919 static const int kForeignAddressOffset = kApiPointerSize; | 6919 static const int kForeignAddressOffset = kApiPointerSize; |
6920 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; | 6920 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; |
6921 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; | 6921 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; |
6922 static const int kContextHeaderSize = 2 * kApiPointerSize; | 6922 static const int kContextHeaderSize = 2 * kApiPointerSize; |
6923 static const int kContextEmbedderDataIndex = 83; | 6923 static const int kContextEmbedderDataIndex = 83; |
6924 static const int kFullStringRepresentationMask = 0x07; | 6924 static const int kFullStringRepresentationMask = 0x07; |
6925 static const int kStringEncodingMask = 0x4; | 6925 static const int kStringEncodingMask = 0x4; |
6926 static const int kExternalTwoByteRepresentationTag = 0x02; | 6926 static const int kExternalTwoByteRepresentationTag = 0x02; |
6927 static const int kExternalOneByteRepresentationTag = 0x06; | 6927 static const int kExternalOneByteRepresentationTag = 0x06; |
6928 | 6928 |
(...skipping 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8319 */ | 8319 */ |
8320 | 8320 |
8321 | 8321 |
8322 } // namespace v8 | 8322 } // namespace v8 |
8323 | 8323 |
8324 | 8324 |
8325 #undef TYPE_CHECK | 8325 #undef TYPE_CHECK |
8326 | 8326 |
8327 | 8327 |
8328 #endif // V8_H_ | 8328 #endif // V8_H_ |
OLD | NEW |