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 6930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6941 static const int kHeapObjectMapOffset = 0; | 6941 static const int kHeapObjectMapOffset = 0; |
6942 static const int kMapInstanceTypeAndBitFieldOffset = | 6942 static const int kMapInstanceTypeAndBitFieldOffset = |
6943 1 * kApiPointerSize + kApiIntSize; | 6943 1 * kApiPointerSize + kApiIntSize; |
6944 static const int kStringResourceOffset = 3 * kApiPointerSize; | 6944 static const int kStringResourceOffset = 3 * kApiPointerSize; |
6945 | 6945 |
6946 static const int kOddballKindOffset = 4 * kApiPointerSize; | 6946 static const int kOddballKindOffset = 4 * kApiPointerSize; |
6947 static const int kForeignAddressOffset = kApiPointerSize; | 6947 static const int kForeignAddressOffset = kApiPointerSize; |
6948 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; | 6948 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; |
6949 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; | 6949 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; |
6950 static const int kContextHeaderSize = 2 * kApiPointerSize; | 6950 static const int kContextHeaderSize = 2 * kApiPointerSize; |
6951 static const int kContextEmbedderDataIndex = 27; | 6951 static const int kContextEmbedderDataIndex = 5; |
6952 static const int kFullStringRepresentationMask = 0x07; | 6952 static const int kFullStringRepresentationMask = 0x07; |
6953 static const int kStringEncodingMask = 0x4; | 6953 static const int kStringEncodingMask = 0x4; |
6954 static const int kExternalTwoByteRepresentationTag = 0x02; | 6954 static const int kExternalTwoByteRepresentationTag = 0x02; |
6955 static const int kExternalOneByteRepresentationTag = 0x06; | 6955 static const int kExternalOneByteRepresentationTag = 0x06; |
6956 | 6956 |
6957 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | 6957 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; |
6958 static const int kAmountOfExternalAllocatedMemoryOffset = | 6958 static const int kAmountOfExternalAllocatedMemoryOffset = |
6959 4 * kApiPointerSize; | 6959 4 * kApiPointerSize; |
6960 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 6960 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
6961 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 6961 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
(...skipping 1385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8347 */ | 8347 */ |
8348 | 8348 |
8349 | 8349 |
8350 } // namespace v8 | 8350 } // namespace v8 |
8351 | 8351 |
8352 | 8352 |
8353 #undef TYPE_CHECK | 8353 #undef TYPE_CHECK |
8354 | 8354 |
8355 | 8355 |
8356 #endif // V8_H_ | 8356 #endif // V8_H_ |
OLD | NEW |