| 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 7425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7436 static const int kExternalTwoByteRepresentationTag = 0x02; | 7436 static const int kExternalTwoByteRepresentationTag = 0x02; |
| 7437 static const int kExternalOneByteRepresentationTag = 0x06; | 7437 static const int kExternalOneByteRepresentationTag = 0x06; |
| 7438 | 7438 |
| 7439 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | 7439 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; |
| 7440 static const int kAmountOfExternalAllocatedMemoryOffset = | 7440 static const int kAmountOfExternalAllocatedMemoryOffset = |
| 7441 4 * kApiPointerSize; | 7441 4 * kApiPointerSize; |
| 7442 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 7442 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
| 7443 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 7443 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
| 7444 static const int kIsolateRootsOffset = | 7444 static const int kIsolateRootsOffset = |
| 7445 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 7445 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
| 7446 kApiPointerSize; | 7446 kApiPointerSize + kApiPointerSize; |
| 7447 static const int kUndefinedValueRootIndex = 4; | 7447 static const int kUndefinedValueRootIndex = 4; |
| 7448 static const int kTheHoleValueRootIndex = 5; | 7448 static const int kTheHoleValueRootIndex = 5; |
| 7449 static const int kNullValueRootIndex = 6; | 7449 static const int kNullValueRootIndex = 6; |
| 7450 static const int kTrueValueRootIndex = 7; | 7450 static const int kTrueValueRootIndex = 7; |
| 7451 static const int kFalseValueRootIndex = 8; | 7451 static const int kFalseValueRootIndex = 8; |
| 7452 static const int kEmptyStringRootIndex = 9; | 7452 static const int kEmptyStringRootIndex = 9; |
| 7453 | 7453 |
| 7454 // The external allocation limit should be below 256 MB on all architectures | 7454 // The external allocation limit should be below 256 MB on all architectures |
| 7455 // to avoid that resource-constrained embedders run low on memory. | 7455 // to avoid that resource-constrained embedders run low on memory. |
| 7456 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 7456 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
| (...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8829 */ | 8829 */ |
| 8830 | 8830 |
| 8831 | 8831 |
| 8832 } // namespace v8 | 8832 } // namespace v8 |
| 8833 | 8833 |
| 8834 | 8834 |
| 8835 #undef TYPE_CHECK | 8835 #undef TYPE_CHECK |
| 8836 | 8836 |
| 8837 | 8837 |
| 8838 #endif // INCLUDE_V8_H_ | 8838 #endif // INCLUDE_V8_H_ |
| OLD | NEW |