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 5886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5897 4 * kApiPointerSize; | 5897 4 * kApiPointerSize; |
5898 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 5898 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
5899 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 5899 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
5900 static const int kIsolateRootsOffset = | 5900 static const int kIsolateRootsOffset = |
5901 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 5901 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
5902 kApiPointerSize; | 5902 kApiPointerSize; |
5903 static const int kUndefinedValueRootIndex = 5; | 5903 static const int kUndefinedValueRootIndex = 5; |
5904 static const int kNullValueRootIndex = 7; | 5904 static const int kNullValueRootIndex = 7; |
5905 static const int kTrueValueRootIndex = 8; | 5905 static const int kTrueValueRootIndex = 8; |
5906 static const int kFalseValueRootIndex = 9; | 5906 static const int kFalseValueRootIndex = 9; |
5907 static const int kEmptyStringRootIndex = 166; | 5907 static const int kEmptyStringRootIndex = 152; |
5908 | 5908 |
5909 // The external allocation limit should be below 256 MB on all architectures | 5909 // The external allocation limit should be below 256 MB on all architectures |
5910 // to avoid that resource-constrained embedders run low on memory. | 5910 // to avoid that resource-constrained embedders run low on memory. |
5911 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 5911 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
5912 | 5912 |
5913 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 5913 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
5914 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 5914 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
5915 static const int kNodeStateMask = 0xf; | 5915 static const int kNodeStateMask = 0xf; |
5916 static const int kNodeStateIsWeakValue = 2; | 5916 static const int kNodeStateIsWeakValue = 2; |
5917 static const int kNodeStateIsPendingValue = 3; | 5917 static const int kNodeStateIsPendingValue = 3; |
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7033 */ | 7033 */ |
7034 | 7034 |
7035 | 7035 |
7036 } // namespace v8 | 7036 } // namespace v8 |
7037 | 7037 |
7038 | 7038 |
7039 #undef TYPE_CHECK | 7039 #undef TYPE_CHECK |
7040 | 7040 |
7041 | 7041 |
7042 #endif // V8_H_ | 7042 #endif // V8_H_ |
OLD | NEW |