| 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 7374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7385 static const int kExternalTwoByteRepresentationTag = 0x02; | 7385 static const int kExternalTwoByteRepresentationTag = 0x02; |
| 7386 static const int kExternalOneByteRepresentationTag = 0x06; | 7386 static const int kExternalOneByteRepresentationTag = 0x06; |
| 7387 | 7387 |
| 7388 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | 7388 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; |
| 7389 static const int kAmountOfExternalAllocatedMemoryOffset = | 7389 static const int kAmountOfExternalAllocatedMemoryOffset = |
| 7390 4 * kApiPointerSize; | 7390 4 * kApiPointerSize; |
| 7391 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 7391 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
| 7392 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 7392 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
| 7393 static const int kIsolateRootsOffset = | 7393 static const int kIsolateRootsOffset = |
| 7394 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 7394 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
| 7395 kApiPointerSize; | 7395 kApiPointerSize + kApiPointerSize; |
| 7396 static const int kUndefinedValueRootIndex = 4; | 7396 static const int kUndefinedValueRootIndex = 4; |
| 7397 static const int kTheHoleValueRootIndex = 5; | 7397 static const int kTheHoleValueRootIndex = 5; |
| 7398 static const int kNullValueRootIndex = 6; | 7398 static const int kNullValueRootIndex = 6; |
| 7399 static const int kTrueValueRootIndex = 7; | 7399 static const int kTrueValueRootIndex = 7; |
| 7400 static const int kFalseValueRootIndex = 8; | 7400 static const int kFalseValueRootIndex = 8; |
| 7401 static const int kEmptyStringRootIndex = 9; | 7401 static const int kEmptyStringRootIndex = 9; |
| 7402 | 7402 |
| 7403 // The external allocation limit should be below 256 MB on all architectures | 7403 // The external allocation limit should be below 256 MB on all architectures |
| 7404 // to avoid that resource-constrained embedders run low on memory. | 7404 // to avoid that resource-constrained embedders run low on memory. |
| 7405 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 7405 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
| (...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8778 */ | 8778 */ |
| 8779 | 8779 |
| 8780 | 8780 |
| 8781 } // namespace v8 | 8781 } // namespace v8 |
| 8782 | 8782 |
| 8783 | 8783 |
| 8784 #undef TYPE_CHECK | 8784 #undef TYPE_CHECK |
| 8785 | 8785 |
| 8786 | 8786 |
| 8787 #endif // INCLUDE_V8_H_ | 8787 #endif // INCLUDE_V8_H_ |
| OLD | NEW |