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 6182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6193 4 * kApiPointerSize; | 6193 4 * kApiPointerSize; |
6194 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 6194 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
6195 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 6195 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
6196 static const int kIsolateRootsOffset = | 6196 static const int kIsolateRootsOffset = |
6197 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 6197 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
6198 kApiPointerSize; | 6198 kApiPointerSize; |
6199 static const int kUndefinedValueRootIndex = 5; | 6199 static const int kUndefinedValueRootIndex = 5; |
6200 static const int kNullValueRootIndex = 7; | 6200 static const int kNullValueRootIndex = 7; |
6201 static const int kTrueValueRootIndex = 8; | 6201 static const int kTrueValueRootIndex = 8; |
6202 static const int kFalseValueRootIndex = 9; | 6202 static const int kFalseValueRootIndex = 9; |
6203 static const int kEmptyStringRootIndex = 154; | 6203 static const int kEmptyStringRootIndex = 155; |
6204 | 6204 |
6205 // The external allocation limit should be below 256 MB on all architectures | 6205 // The external allocation limit should be below 256 MB on all architectures |
6206 // to avoid that resource-constrained embedders run low on memory. | 6206 // to avoid that resource-constrained embedders run low on memory. |
6207 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 6207 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
6208 | 6208 |
6209 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 6209 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
6210 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 6210 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
6211 static const int kNodeStateMask = 0x7; | 6211 static const int kNodeStateMask = 0x7; |
6212 static const int kNodeStateIsWeakValue = 2; | 6212 static const int kNodeStateIsWeakValue = 2; |
6213 static const int kNodeStateIsPendingValue = 3; | 6213 static const int kNodeStateIsPendingValue = 3; |
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7487 */ | 7487 */ |
7488 | 7488 |
7489 | 7489 |
7490 } // namespace v8 | 7490 } // namespace v8 |
7491 | 7491 |
7492 | 7492 |
7493 #undef TYPE_CHECK | 7493 #undef TYPE_CHECK |
7494 | 7494 |
7495 | 7495 |
7496 #endif // V8_H_ | 7496 #endif // V8_H_ |
OLD | NEW |