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 5651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5662 4 * kApiPointerSize; | 5662 4 * kApiPointerSize; |
5663 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 5663 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
5664 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 5664 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
5665 static const int kIsolateRootsOffset = | 5665 static const int kIsolateRootsOffset = |
5666 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 5666 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
5667 kApiPointerSize; | 5667 kApiPointerSize; |
5668 static const int kUndefinedValueRootIndex = 5; | 5668 static const int kUndefinedValueRootIndex = 5; |
5669 static const int kNullValueRootIndex = 7; | 5669 static const int kNullValueRootIndex = 7; |
5670 static const int kTrueValueRootIndex = 8; | 5670 static const int kTrueValueRootIndex = 8; |
5671 static const int kFalseValueRootIndex = 9; | 5671 static const int kFalseValueRootIndex = 9; |
5672 static const int kEmptyStringRootIndex = 162; | 5672 static const int kEmptyStringRootIndex = 164; |
5673 | 5673 |
5674 // The external allocation limit should be below 256 MB on all architectures | 5674 // The external allocation limit should be below 256 MB on all architectures |
5675 // to avoid that resource-constrained embedders run low on memory. | 5675 // to avoid that resource-constrained embedders run low on memory. |
5676 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 5676 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
5677 | 5677 |
5678 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 5678 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
5679 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 5679 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
5680 static const int kNodeStateMask = 0xf; | 5680 static const int kNodeStateMask = 0xf; |
5681 static const int kNodeStateIsWeakValue = 2; | 5681 static const int kNodeStateIsWeakValue = 2; |
5682 static const int kNodeStateIsPendingValue = 3; | 5682 static const int kNodeStateIsPendingValue = 3; |
(...skipping 1115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6798 */ | 6798 */ |
6799 | 6799 |
6800 | 6800 |
6801 } // namespace v8 | 6801 } // namespace v8 |
6802 | 6802 |
6803 | 6803 |
6804 #undef TYPE_CHECK | 6804 #undef TYPE_CHECK |
6805 | 6805 |
6806 | 6806 |
6807 #endif // V8_H_ | 6807 #endif // V8_H_ |
OLD | NEW |