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 5630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5641 4 * kApiPointerSize; | 5641 4 * kApiPointerSize; |
5642 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 5642 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
5643 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 5643 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
5644 static const int kIsolateRootsOffset = | 5644 static const int kIsolateRootsOffset = |
5645 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 5645 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
5646 kApiPointerSize; | 5646 kApiPointerSize; |
5647 static const int kUndefinedValueRootIndex = 5; | 5647 static const int kUndefinedValueRootIndex = 5; |
5648 static const int kNullValueRootIndex = 7; | 5648 static const int kNullValueRootIndex = 7; |
5649 static const int kTrueValueRootIndex = 8; | 5649 static const int kTrueValueRootIndex = 8; |
5650 static const int kFalseValueRootIndex = 9; | 5650 static const int kFalseValueRootIndex = 9; |
5651 static const int kEmptyStringRootIndex = 163; | 5651 static const int kEmptyStringRootIndex = 164; |
5652 | 5652 |
5653 // The external allocation limit should be below 256 MB on all architectures | 5653 // The external allocation limit should be below 256 MB on all architectures |
5654 // to avoid that resource-constrained embedders run low on memory. | 5654 // to avoid that resource-constrained embedders run low on memory. |
5655 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 5655 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
5656 | 5656 |
5657 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 5657 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
5658 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 5658 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
5659 static const int kNodeStateMask = 0xf; | 5659 static const int kNodeStateMask = 0xf; |
5660 static const int kNodeStateIsWeakValue = 2; | 5660 static const int kNodeStateIsWeakValue = 2; |
5661 static const int kNodeStateIsPendingValue = 3; | 5661 static const int kNodeStateIsPendingValue = 3; |
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6769 */ | 6769 */ |
6770 | 6770 |
6771 | 6771 |
6772 } // namespace v8 | 6772 } // namespace v8 |
6773 | 6773 |
6774 | 6774 |
6775 #undef TYPE_CHECK | 6775 #undef TYPE_CHECK |
6776 | 6776 |
6777 | 6777 |
6778 #endif // V8_H_ | 6778 #endif // V8_H_ |
OLD | NEW |