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 7571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7582 static const int kStringEncodingMask = 0x4; | 7582 static const int kStringEncodingMask = 0x4; |
7583 static const int kExternalTwoByteRepresentationTag = 0x02; | 7583 static const int kExternalTwoByteRepresentationTag = 0x02; |
7584 static const int kExternalOneByteRepresentationTag = 0x06; | 7584 static const int kExternalOneByteRepresentationTag = 0x06; |
7585 | 7585 |
7586 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | 7586 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; |
7587 static const int kExternalMemoryOffset = 4 * kApiPointerSize; | 7587 static const int kExternalMemoryOffset = 4 * kApiPointerSize; |
7588 static const int kExternalMemoryLimitOffset = | 7588 static const int kExternalMemoryLimitOffset = |
7589 kExternalMemoryOffset + kApiInt64Size; | 7589 kExternalMemoryOffset + kApiInt64Size; |
7590 static const int kIsolateRootsOffset = kExternalMemoryLimitOffset + | 7590 static const int kIsolateRootsOffset = kExternalMemoryLimitOffset + |
7591 kApiInt64Size + kApiInt64Size + | 7591 kApiInt64Size + kApiInt64Size + |
7592 kApiPointerSize + kApiPointerSize; | 7592 kApiPointerSize; |
7593 static const int kUndefinedValueRootIndex = 4; | 7593 static const int kUndefinedValueRootIndex = 4; |
7594 static const int kTheHoleValueRootIndex = 5; | 7594 static const int kTheHoleValueRootIndex = 5; |
7595 static const int kNullValueRootIndex = 6; | 7595 static const int kNullValueRootIndex = 6; |
7596 static const int kTrueValueRootIndex = 7; | 7596 static const int kTrueValueRootIndex = 7; |
7597 static const int kFalseValueRootIndex = 8; | 7597 static const int kFalseValueRootIndex = 8; |
7598 static const int kEmptyStringRootIndex = 9; | 7598 static const int kEmptyStringRootIndex = 9; |
7599 | 7599 |
7600 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 7600 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
7601 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 7601 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
7602 static const int kNodeStateMask = 0x7; | 7602 static const int kNodeStateMask = 0x7; |
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8964 */ | 8964 */ |
8965 | 8965 |
8966 | 8966 |
8967 } // namespace v8 | 8967 } // namespace v8 |
8968 | 8968 |
8969 | 8969 |
8970 #undef TYPE_CHECK | 8970 #undef TYPE_CHECK |
8971 | 8971 |
8972 | 8972 |
8973 #endif // INCLUDE_V8_H_ | 8973 #endif // INCLUDE_V8_H_ |
OLD | NEW |