| 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 4651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4662 typedef void (*AddHistogramSampleCallback)(void* histogram, int sample); | 4662 typedef void (*AddHistogramSampleCallback)(void* histogram, int sample); |
| 4663 | 4663 |
| 4664 // --- Memory Allocation Callback --- | 4664 // --- Memory Allocation Callback --- |
| 4665 enum ObjectSpace { | 4665 enum ObjectSpace { |
| 4666 kObjectSpaceNewSpace = 1 << 0, | 4666 kObjectSpaceNewSpace = 1 << 0, |
| 4667 kObjectSpaceOldPointerSpace = 1 << 1, | 4667 kObjectSpaceOldPointerSpace = 1 << 1, |
| 4668 kObjectSpaceOldDataSpace = 1 << 2, | 4668 kObjectSpaceOldDataSpace = 1 << 2, |
| 4669 kObjectSpaceCodeSpace = 1 << 3, | 4669 kObjectSpaceCodeSpace = 1 << 3, |
| 4670 kObjectSpaceMapSpace = 1 << 4, | 4670 kObjectSpaceMapSpace = 1 << 4, |
| 4671 kObjectSpaceCellSpace = 1 << 5, | 4671 kObjectSpaceCellSpace = 1 << 5, |
| 4672 kObjectSpacePropertyCellSpace = 1 << 6, | 4672 kObjectSpaceLoSpace = 1 << 6, |
| 4673 kObjectSpaceLoSpace = 1 << 7, | |
| 4674 kObjectSpaceAll = kObjectSpaceNewSpace | kObjectSpaceOldPointerSpace | | 4673 kObjectSpaceAll = kObjectSpaceNewSpace | kObjectSpaceOldPointerSpace | |
| 4675 kObjectSpaceOldDataSpace | kObjectSpaceCodeSpace | | 4674 kObjectSpaceOldDataSpace | kObjectSpaceCodeSpace | |
| 4676 kObjectSpaceMapSpace | kObjectSpaceLoSpace | 4675 kObjectSpaceMapSpace | kObjectSpaceLoSpace |
| 4677 }; | 4676 }; |
| 4678 | 4677 |
| 4679 enum AllocationAction { | 4678 enum AllocationAction { |
| 4680 kAllocationActionAllocate = 1 << 0, | 4679 kAllocationActionAllocate = 1 << 0, |
| 4681 kAllocationActionFree = 1 << 1, | 4680 kAllocationActionFree = 1 << 1, |
| 4682 kAllocationActionAll = kAllocationActionAllocate | kAllocationActionFree | 4681 kAllocationActionAll = kAllocationActionAllocate | kAllocationActionFree |
| 4683 }; | 4682 }; |
| (...skipping 3292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7976 */ | 7975 */ |
| 7977 | 7976 |
| 7978 | 7977 |
| 7979 } // namespace v8 | 7978 } // namespace v8 |
| 7980 | 7979 |
| 7981 | 7980 |
| 7982 #undef TYPE_CHECK | 7981 #undef TYPE_CHECK |
| 7983 | 7982 |
| 7984 | 7983 |
| 7985 #endif // V8_H_ | 7984 #endif // V8_H_ |
| OLD | NEW |