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 4505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4516 kMinorGarbageCollection | 4516 kMinorGarbageCollection |
4517 }; | 4517 }; |
4518 | 4518 |
4519 /** | 4519 /** |
4520 * Features reported via the SetUseCounterCallback callback. Do not chang | 4520 * Features reported via the SetUseCounterCallback callback. Do not chang |
4521 * assigned numbers of existing items; add new features to the end of this | 4521 * assigned numbers of existing items; add new features to the end of this |
4522 * list. | 4522 * list. |
4523 */ | 4523 */ |
4524 enum UseCounterFeature { | 4524 enum UseCounterFeature { |
4525 kUseAsm = 0, | 4525 kUseAsm = 0, |
| 4526 kBreakIterator = 1, |
4526 kUseCounterFeatureCount // This enum value must be last. | 4527 kUseCounterFeatureCount // This enum value must be last. |
4527 }; | 4528 }; |
4528 | 4529 |
4529 typedef void (*UseCounterCallback)(Isolate* isolate, | 4530 typedef void (*UseCounterCallback)(Isolate* isolate, |
4530 UseCounterFeature feature); | 4531 UseCounterFeature feature); |
4531 | 4532 |
4532 | 4533 |
4533 /** | 4534 /** |
4534 * Creates a new isolate. Does not change the currently entered | 4535 * Creates a new isolate. Does not change the currently entered |
4535 * isolate. | 4536 * isolate. |
(...skipping 2497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7033 */ | 7034 */ |
7034 | 7035 |
7035 | 7036 |
7036 } // namespace v8 | 7037 } // namespace v8 |
7037 | 7038 |
7038 | 7039 |
7039 #undef TYPE_CHECK | 7040 #undef TYPE_CHECK |
7040 | 7041 |
7041 | 7042 |
7042 #endif // V8_H_ | 7043 #endif // V8_H_ |
OLD | NEW |