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 5512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5523 // the implementation of v8. | 5523 // the implementation of v8. |
5524 static const int kHeapObjectMapOffset = 0; | 5524 static const int kHeapObjectMapOffset = 0; |
5525 static const int kMapInstanceTypeOffset = 1 * kApiPointerSize + kApiIntSize; | 5525 static const int kMapInstanceTypeOffset = 1 * kApiPointerSize + kApiIntSize; |
5526 static const int kStringResourceOffset = 3 * kApiPointerSize; | 5526 static const int kStringResourceOffset = 3 * kApiPointerSize; |
5527 | 5527 |
5528 static const int kOddballKindOffset = 3 * kApiPointerSize; | 5528 static const int kOddballKindOffset = 3 * kApiPointerSize; |
5529 static const int kForeignAddressOffset = kApiPointerSize; | 5529 static const int kForeignAddressOffset = kApiPointerSize; |
5530 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; | 5530 static const int kJSObjectHeaderSize = 3 * kApiPointerSize; |
5531 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; | 5531 static const int kFixedArrayHeaderSize = 2 * kApiPointerSize; |
5532 static const int kContextHeaderSize = 2 * kApiPointerSize; | 5532 static const int kContextHeaderSize = 2 * kApiPointerSize; |
5533 static const int kContextEmbedderDataIndex = 74; | 5533 static const int kContextEmbedderDataIndex = 75; |
5534 static const int kFullStringRepresentationMask = 0x07; | 5534 static const int kFullStringRepresentationMask = 0x07; |
5535 static const int kStringEncodingMask = 0x4; | 5535 static const int kStringEncodingMask = 0x4; |
5536 static const int kExternalTwoByteRepresentationTag = 0x02; | 5536 static const int kExternalTwoByteRepresentationTag = 0x02; |
5537 static const int kExternalAsciiRepresentationTag = 0x06; | 5537 static const int kExternalAsciiRepresentationTag = 0x06; |
5538 | 5538 |
5539 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | 5539 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; |
5540 static const int kIsolateRootsOffset = 5 * kApiPointerSize; | 5540 static const int kIsolateRootsOffset = 5 * kApiPointerSize; |
5541 static const int kUndefinedValueRootIndex = 5; | 5541 static const int kUndefinedValueRootIndex = 5; |
5542 static const int kNullValueRootIndex = 7; | 5542 static const int kNullValueRootIndex = 7; |
5543 static const int kTrueValueRootIndex = 8; | 5543 static const int kTrueValueRootIndex = 8; |
(...skipping 1090 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6634 */ | 6634 */ |
6635 | 6635 |
6636 | 6636 |
6637 } // namespace v8 | 6637 } // namespace v8 |
6638 | 6638 |
6639 | 6639 |
6640 #undef TYPE_CHECK | 6640 #undef TYPE_CHECK |
6641 | 6641 |
6642 | 6642 |
6643 #endif // V8_H_ | 6643 #endif // V8_H_ |
OLD | NEW |