Chromium Code Reviews| 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 7339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 7350 static const int kExternalTwoByteRepresentationTag = 0x02; | 7350 static const int kExternalTwoByteRepresentationTag = 0x02; |
| 7351 static const int kExternalOneByteRepresentationTag = 0x06; | 7351 static const int kExternalOneByteRepresentationTag = 0x06; |
| 7352 | 7352 |
| 7353 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; | 7353 static const int kIsolateEmbedderDataOffset = 0 * kApiPointerSize; |
| 7354 static const int kAmountOfExternalAllocatedMemoryOffset = | 7354 static const int kAmountOfExternalAllocatedMemoryOffset = |
| 7355 4 * kApiPointerSize; | 7355 4 * kApiPointerSize; |
| 7356 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 7356 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
| 7357 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 7357 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
| 7358 static const int kIsolateRootsOffset = | 7358 static const int kIsolateRootsOffset = |
| 7359 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 7359 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
| 7360 kApiPointerSize; | 7360 kApiPointerSize + kApiPointerSize; |
|
Hannes Payer (out of office)
2016/05/20 12:21:17
Why the extra word?
Michael Lippautz
2016/05/23 08:41:00
I added an intptr_t to Heap, changing the offset o
| |
| 7361 static const int kUndefinedValueRootIndex = 4; | 7361 static const int kUndefinedValueRootIndex = 4; |
| 7362 static const int kTheHoleValueRootIndex = 5; | 7362 static const int kTheHoleValueRootIndex = 5; |
| 7363 static const int kNullValueRootIndex = 6; | 7363 static const int kNullValueRootIndex = 6; |
| 7364 static const int kTrueValueRootIndex = 7; | 7364 static const int kTrueValueRootIndex = 7; |
| 7365 static const int kFalseValueRootIndex = 8; | 7365 static const int kFalseValueRootIndex = 8; |
| 7366 static const int kEmptyStringRootIndex = 9; | 7366 static const int kEmptyStringRootIndex = 9; |
| 7367 | 7367 |
| 7368 // The external allocation limit should be below 256 MB on all architectures | 7368 // The external allocation limit should be below 256 MB on all architectures |
| 7369 // to avoid that resource-constrained embedders run low on memory. | 7369 // to avoid that resource-constrained embedders run low on memory. |
| 7370 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 7370 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
| (...skipping 1372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 8743 */ | 8743 */ |
| 8744 | 8744 |
| 8745 | 8745 |
| 8746 } // namespace v8 | 8746 } // namespace v8 |
| 8747 | 8747 |
| 8748 | 8748 |
| 8749 #undef TYPE_CHECK | 8749 #undef TYPE_CHECK |
| 8750 | 8750 |
| 8751 | 8751 |
| 8752 #endif // INCLUDE_V8_H_ | 8752 #endif // INCLUDE_V8_H_ |
| OLD | NEW |