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 6461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6472 4 * kApiPointerSize; | 6472 4 * kApiPointerSize; |
6473 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 6473 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
6474 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 6474 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
6475 static const int kIsolateRootsOffset = | 6475 static const int kIsolateRootsOffset = |
6476 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 6476 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
6477 kApiPointerSize; | 6477 kApiPointerSize; |
6478 static const int kUndefinedValueRootIndex = 5; | 6478 static const int kUndefinedValueRootIndex = 5; |
6479 static const int kNullValueRootIndex = 7; | 6479 static const int kNullValueRootIndex = 7; |
6480 static const int kTrueValueRootIndex = 8; | 6480 static const int kTrueValueRootIndex = 8; |
6481 static const int kFalseValueRootIndex = 9; | 6481 static const int kFalseValueRootIndex = 9; |
6482 static const int kEmptyStringRootIndex = 155; | 6482 static const int kEmptyStringRootIndex = 156; |
6483 | 6483 |
6484 // The external allocation limit should be below 256 MB on all architectures | 6484 // The external allocation limit should be below 256 MB on all architectures |
6485 // to avoid that resource-constrained embedders run low on memory. | 6485 // to avoid that resource-constrained embedders run low on memory. |
6486 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 6486 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
6487 | 6487 |
6488 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 6488 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
6489 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 6489 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
6490 static const int kNodeStateMask = 0x7; | 6490 static const int kNodeStateMask = 0x7; |
6491 static const int kNodeStateIsWeakValue = 2; | 6491 static const int kNodeStateIsWeakValue = 2; |
6492 static const int kNodeStateIsPendingValue = 3; | 6492 static const int kNodeStateIsPendingValue = 3; |
(...skipping 1277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7770 */ | 7770 */ |
7771 | 7771 |
7772 | 7772 |
7773 } // namespace v8 | 7773 } // namespace v8 |
7774 | 7774 |
7775 | 7775 |
7776 #undef TYPE_CHECK | 7776 #undef TYPE_CHECK |
7777 | 7777 |
7778 | 7778 |
7779 #endif // V8_H_ | 7779 #endif // V8_H_ |
OLD | NEW |