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 5524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5535 4 * kApiPointerSize; | 5535 4 * kApiPointerSize; |
5536 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 5536 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
5537 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 5537 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
5538 static const int kIsolateRootsOffset = | 5538 static const int kIsolateRootsOffset = |
5539 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 5539 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
5540 kApiPointerSize; | 5540 kApiPointerSize; |
5541 static const int kUndefinedValueRootIndex = 5; | 5541 static const int kUndefinedValueRootIndex = 5; |
5542 static const int kNullValueRootIndex = 7; | 5542 static const int kNullValueRootIndex = 7; |
5543 static const int kTrueValueRootIndex = 8; | 5543 static const int kTrueValueRootIndex = 8; |
5544 static const int kFalseValueRootIndex = 9; | 5544 static const int kFalseValueRootIndex = 9; |
5545 static const int kEmptyStringRootIndex = 162; | 5545 static const int kEmptyStringRootIndex = 160; |
5546 | 5546 |
5547 // The external allocation limit should be below 256 MB on all architectures | 5547 // The external allocation limit should be below 256 MB on all architectures |
5548 // to avoid that resource-constrained embedders run low on memory. | 5548 // to avoid that resource-constrained embedders run low on memory. |
5549 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 5549 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
5550 | 5550 |
5551 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 5551 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
5552 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 5552 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
5553 static const int kNodeStateMask = 0xf; | 5553 static const int kNodeStateMask = 0xf; |
5554 static const int kNodeStateIsWeakValue = 2; | 5554 static const int kNodeStateIsWeakValue = 2; |
5555 static const int kNodeStateIsPendingValue = 3; | 5555 static const int kNodeStateIsPendingValue = 3; |
(...skipping 1097 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6653 */ | 6653 */ |
6654 | 6654 |
6655 | 6655 |
6656 } // namespace v8 | 6656 } // namespace v8 |
6657 | 6657 |
6658 | 6658 |
6659 #undef TYPE_CHECK | 6659 #undef TYPE_CHECK |
6660 | 6660 |
6661 | 6661 |
6662 #endif // V8_H_ | 6662 #endif // V8_H_ |
OLD | NEW |