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 7399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7410 static const int kExternalTwoByteRepresentationTag = 0x02; | 7410 static const int kExternalTwoByteRepresentationTag = 0x02; |
7411 static const int kExternalOneByteRepresentationTag = 0x06; | 7411 static const int kExternalOneByteRepresentationTag = 0x06; |
7412 | 7412 |
7413 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | 7413 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; |
7414 static const int kAmountOfExternalAllocatedMemoryOffset = | 7414 static const int kAmountOfExternalAllocatedMemoryOffset = |
7415 4 * kApiPointerSize; | 7415 4 * kApiPointerSize; |
7416 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 7416 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
7417 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 7417 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
7418 static const int kIsolateRootsOffset = | 7418 static const int kIsolateRootsOffset = |
7419 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 7419 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
7420 kApiPointerSize; | 7420 kApiPointerSize + kApiPointerSize; |
7421 static const int kUndefinedValueRootIndex = 4; | 7421 static const int kUndefinedValueRootIndex = 4; |
7422 static const int kTheHoleValueRootIndex = 5; | 7422 static const int kTheHoleValueRootIndex = 5; |
7423 static const int kNullValueRootIndex = 6; | 7423 static const int kNullValueRootIndex = 6; |
7424 static const int kTrueValueRootIndex = 7; | 7424 static const int kTrueValueRootIndex = 7; |
7425 static const int kFalseValueRootIndex = 8; | 7425 static const int kFalseValueRootIndex = 8; |
7426 static const int kEmptyStringRootIndex = 9; | 7426 static const int kEmptyStringRootIndex = 9; |
7427 | 7427 |
7428 // The external allocation limit should be below 256 MB on all architectures | 7428 // The external allocation limit should be below 256 MB on all architectures |
7429 // to avoid that resource-constrained embedders run low on memory. | 7429 // to avoid that resource-constrained embedders run low on memory. |
7430 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 7430 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
(...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8803 */ | 8803 */ |
8804 | 8804 |
8805 | 8805 |
8806 } // namespace v8 | 8806 } // namespace v8 |
8807 | 8807 |
8808 | 8808 |
8809 #undef TYPE_CHECK | 8809 #undef TYPE_CHECK |
8810 | 8810 |
8811 | 8811 |
8812 #endif // INCLUDE_V8_H_ | 8812 #endif // INCLUDE_V8_H_ |
OLD | NEW |