| 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 5550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5561 4 * kApiPointerSize; | 5561 4 * kApiPointerSize; |
| 5562 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = | 5562 static const int kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset = |
| 5563 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; | 5563 kAmountOfExternalAllocatedMemoryOffset + kApiInt64Size; |
| 5564 static const int kIsolateRootsOffset = | 5564 static const int kIsolateRootsOffset = |
| 5565 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + | 5565 kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset + kApiInt64Size + |
| 5566 kApiPointerSize; | 5566 kApiPointerSize; |
| 5567 static const int kUndefinedValueRootIndex = 5; | 5567 static const int kUndefinedValueRootIndex = 5; |
| 5568 static const int kNullValueRootIndex = 7; | 5568 static const int kNullValueRootIndex = 7; |
| 5569 static const int kTrueValueRootIndex = 8; | 5569 static const int kTrueValueRootIndex = 8; |
| 5570 static const int kFalseValueRootIndex = 9; | 5570 static const int kFalseValueRootIndex = 9; |
| 5571 static const int kEmptyStringRootIndex = 163; | 5571 static const int kEmptyStringRootIndex = 160; |
| 5572 | 5572 |
| 5573 // The external allocation limit should be below 256 MB on all architectures | 5573 // The external allocation limit should be below 256 MB on all architectures |
| 5574 // to avoid that resource-constrained embedders run low on memory. | 5574 // to avoid that resource-constrained embedders run low on memory. |
| 5575 static const int kExternalAllocationLimit = 192 * 1024 * 1024; | 5575 static const int kExternalAllocationLimit = 192 * 1024 * 1024; |
| 5576 | 5576 |
| 5577 static const int kNodeClassIdOffset = 1 * kApiPointerSize; | 5577 static const int kNodeClassIdOffset = 1 * kApiPointerSize; |
| 5578 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; | 5578 static const int kNodeFlagsOffset = 1 * kApiPointerSize + 3; |
| 5579 static const int kNodeStateMask = 0xf; | 5579 static const int kNodeStateMask = 0xf; |
| 5580 static const int kNodeStateIsWeakValue = 2; | 5580 static const int kNodeStateIsWeakValue = 2; |
| 5581 static const int kNodeStateIsPendingValue = 3; | 5581 static const int kNodeStateIsPendingValue = 3; |
| (...skipping 1101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6683 */ | 6683 */ |
| 6684 | 6684 |
| 6685 | 6685 |
| 6686 } // namespace v8 | 6686 } // namespace v8 |
| 6687 | 6687 |
| 6688 | 6688 |
| 6689 #undef TYPE_CHECK | 6689 #undef TYPE_CHECK |
| 6690 | 6690 |
| 6691 | 6691 |
| 6692 #endif // V8_H_ | 6692 #endif // V8_H_ |
| OLD | NEW |