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 change | 5066 * Features reported via the SetUseCounterCallback callback. Do not chang |
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, | |
5077 kUseCounterFeatureCount // This enum value must be last. | 5074 kUseCounterFeatureCount // This enum value must be last. |
5078 }; | 5075 }; |
5079 | 5076 |
5080 typedef void (*UseCounterCallback)(Isolate* isolate, | 5077 typedef void (*UseCounterCallback)(Isolate* isolate, |
5081 UseCounterFeature feature); | 5078 UseCounterFeature feature); |
5082 | 5079 |
5083 | 5080 |
5084 /** | 5081 /** |
5085 * Creates a new isolate. Does not change the currently entered | 5082 * Creates a new isolate. Does not change the currently entered |
5086 * isolate. | 5083 * isolate. |
(...skipping 2893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7980 */ | 7977 */ |
7981 | 7978 |
7982 | 7979 |
7983 } // namespace v8 | 7980 } // namespace v8 |
7984 | 7981 |
7985 | 7982 |
7986 #undef TYPE_CHECK | 7983 #undef TYPE_CHECK |
7987 | 7984 |
7988 | 7985 |
7989 #endif // V8_H_ | 7986 #endif // V8_H_ |
OLD | NEW |