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 5593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5604 4 * kApiPointerSize; | 5604 4 * kApiPointerSize; |
5605 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 5605 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
5606 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 5606 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
5607 static const int kIsolateRootsOffset = | 5607 static const int kIsolateRootsOffset = |
5608 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 5608 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
5609 kApiPointerSize; | 5609 kApiPointerSize; |
5610 static const int kUndefinedValueRootIndex = 5; | 5610 static const int kUndefinedValueRootIndex = 5; |
5611 static const int kNullValueRootIndex = 7; | 5611 static const int kNullValueRootIndex = 7; |
5612 static const int kTrueValueRootIndex = 8; | 5612 static const int kTrueValueRootIndex = 8; |
5613 static const int kFalseValueRootIndex = 9; | 5613 static const int kFalseValueRootIndex = 9; |
5614 static const int kEmptyStringRootIndex = 164; | 5614 static const int kEmptyStringRootIndex = 161; |
5615 | 5615 |
5616 // The external allocation limit should be below 256 MB on all architectures | 5616 // The external allocation limit should be below 256 MB on all architectures |
5617 // to avoid that resource-constrained embedders run low on memory. | 5617 // to avoid that resource-constrained embedders run low on memory. |
5618 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 5618 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
5619 | 5619 |
5620 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 5620 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
5621 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 5621 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
5622 static const int kNodeStateMask = 0xf; | 5622 static const int kNodeStateMask = 0xf; |
5623 static const int kNodeStateIsWeakValue = 2; | 5623 static const int kNodeStateIsWeakValue = 2; |
5624 static const int kNodeStateIsPendingValue = 3; | 5624 static const int kNodeStateIsPendingValue = 3; |
(...skipping 1107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6732 */ | 6732 */ |
6733 | 6733 |
6734 | 6734 |
6735 } // namespace v8 | 6735 } // namespace v8 |
6736 | 6736 |
6737 | 6737 |
6738 #undef TYPE_CHECK | 6738 #undef TYPE_CHECK |
6739 | 6739 |
6740 | 6740 |
6741 #endif // V8_H_ | 6741 #endif // V8_H_ |
OLD | NEW |