| 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 5045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5056 /** | 5056 /** |
| 5057 * Types of garbage collections that can be requested via | 5057 * Types of garbage collections that can be requested via |
| 5058 * RequestGarbageCollectionForTesting. | 5058 * RequestGarbageCollectionForTesting. |
| 5059 */ | 5059 */ |
| 5060 enum GarbageCollectionType { | 5060 enum GarbageCollectionType { |
| 5061 kFullGarbageCollection, | 5061 kFullGarbageCollection, |
| 5062 kMinorGarbageCollection | 5062 kMinorGarbageCollection |
| 5063 }; | 5063 }; |
| 5064 | 5064 |
| 5065 /** | 5065 /** |
| 5066 * Features reported via the SetUseCounterCallback callback. Do not chang | 5066 * Features reported via the SetUseCounterCallback callback. Do not change |
| 5067 * assigned numbers of existing items; add new features to the end of this | 5067 * assigned numbers of existing items; add new features to the end of this |
| 5068 * list. | 5068 * list. |
| 5069 */ | 5069 */ |
| 5070 enum UseCounterFeature { | 5070 enum UseCounterFeature { |
| 5071 kUseAsm = 0, | 5071 kUseAsm = 0, |
| 5072 kBreakIterator = 1, | 5072 kBreakIterator = 1, |
| 5073 kLegacyConst = 2, | 5073 kLegacyConst = 2, |
| 5074 kMarkDequeOverflow = 3, |
| 5075 kStoreBufferOverflow = 4, |
| 5076 kSlotsBufferOverflow = 5, |
| 5074 kUseCounterFeatureCount // This enum value must be last. | 5077 kUseCounterFeatureCount // This enum value must be last. |
| 5075 }; | 5078 }; |
| 5076 | 5079 |
| 5077 typedef void (*UseCounterCallback)(Isolate* isolate, | 5080 typedef void (*UseCounterCallback)(Isolate* isolate, |
| 5078 UseCounterFeature feature); | 5081 UseCounterFeature feature); |
| 5079 | 5082 |
| 5080 | 5083 |
| 5081 /** | 5084 /** |
| 5082 * Creates a new isolate. Does not change the currently entered | 5085 * Creates a new isolate. Does not change the currently entered |
| 5083 * isolate. | 5086 * isolate. |
| (...skipping 2893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7977 */ | 7980 */ |
| 7978 | 7981 |
| 7979 | 7982 |
| 7980 } // namespace v8 | 7983 } // namespace v8 |
| 7981 | 7984 |
| 7982 | 7985 |
| 7983 #undef TYPE_CHECK | 7986 #undef TYPE_CHECK |
| 7984 | 7987 |
| 7985 | 7988 |
| 7986 #endif // V8_H_ | 7989 #endif // V8_H_ |
| OLD | NEW |