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 6705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6716 4 * kApiPointerSize; | 6716 4 * kApiPointerSize; |
6717 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 6717 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
6718 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 6718 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
6719 static const int kIsolateRootsOffset = | 6719 static const int kIsolateRootsOffset = |
6720 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 6720 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
6721 kApiPointerSize; | 6721 kApiPointerSize; |
6722 static const int kUndefinedValueRootIndex = 5; | 6722 static const int kUndefinedValueRootIndex = 5; |
6723 static const int kNullValueRootIndex = 7; | 6723 static const int kNullValueRootIndex = 7; |
6724 static const int kTrueValueRootIndex = 8; | 6724 static const int kTrueValueRootIndex = 8; |
6725 static const int kFalseValueRootIndex = 9; | 6725 static const int kFalseValueRootIndex = 9; |
6726 static const int kEmptyStringRootIndex = 156; | 6726 static const int kEmptyStringRootIndex = 10; |
6727 | 6727 |
6728 // The external allocation limit should be below 256 MB on all architectures | 6728 // The external allocation limit should be below 256 MB on all architectures |
6729 // to avoid that resource-constrained embedders run low on memory. | 6729 // to avoid that resource-constrained embedders run low on memory. |
6730 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 6730 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
6731 | 6731 |
6732 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 6732 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
6733 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 6733 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
6734 static const int kNodeStateMask = 0x7; | 6734 static const int kNodeStateMask = 0x7; |
6735 static const int kNodeStateIsWeakValue = 2; | 6735 static const int kNodeStateIsWeakValue = 2; |
6736 static const int kNodeStateIsPendingValue = 3; | 6736 static const int kNodeStateIsPendingValue = 3; |
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8069 */ | 8069 */ |
8070 | 8070 |
8071 | 8071 |
8072 } // namespace v8 | 8072 } // namespace v8 |
8073 | 8073 |
8074 | 8074 |
8075 #undef TYPE_CHECK | 8075 #undef TYPE_CHECK |
8076 | 8076 |
8077 | 8077 |
8078 #endif // V8_H_ | 8078 #endif // V8_H_ |
OLD | NEW |