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 5128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5139 * assigned numbers of existing items; add new features to the end of this | 5139 * assigned numbers of existing items; add new features to the end of this |
5140 * list. | 5140 * list. |
5141 */ | 5141 */ |
5142 enum UseCounterFeature { | 5142 enum UseCounterFeature { |
5143 kUseAsm = 0, | 5143 kUseAsm = 0, |
5144 kBreakIterator = 1, | 5144 kBreakIterator = 1, |
5145 kLegacyConst = 2, | 5145 kLegacyConst = 2, |
5146 kMarkDequeOverflow = 3, | 5146 kMarkDequeOverflow = 3, |
5147 kStoreBufferOverflow = 4, | 5147 kStoreBufferOverflow = 4, |
5148 kSlotsBufferOverflow = 5, | 5148 kSlotsBufferOverflow = 5, |
| 5149 kObjectObserve = 6, |
5149 kUseCounterFeatureCount // This enum value must be last. | 5150 kUseCounterFeatureCount // This enum value must be last. |
5150 }; | 5151 }; |
5151 | 5152 |
5152 typedef void (*UseCounterCallback)(Isolate* isolate, | 5153 typedef void (*UseCounterCallback)(Isolate* isolate, |
5153 UseCounterFeature feature); | 5154 UseCounterFeature feature); |
5154 | 5155 |
5155 | 5156 |
5156 /** | 5157 /** |
5157 * Creates a new isolate. Does not change the currently entered | 5158 * Creates a new isolate. Does not change the currently entered |
5158 * isolate. | 5159 * isolate. |
(...skipping 2899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8058 */ | 8059 */ |
8059 | 8060 |
8060 | 8061 |
8061 } // namespace v8 | 8062 } // namespace v8 |
8062 | 8063 |
8063 | 8064 |
8064 #undef TYPE_CHECK | 8065 #undef TYPE_CHECK |
8065 | 8066 |
8066 | 8067 |
8067 #endif // V8_H_ | 8068 #endif // V8_H_ |
OLD | NEW |