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 4510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4521 kMinorGarbageCollection | 4521 kMinorGarbageCollection |
4522 }; | 4522 }; |
4523 | 4523 |
4524 /** | 4524 /** |
4525 * Features reported via the SetUseCounterCallback callback. Do not chang | 4525 * Features reported via the SetUseCounterCallback callback. Do not chang |
4526 * assigned numbers of existing items; add new features to the end of this | 4526 * assigned numbers of existing items; add new features to the end of this |
4527 * list. | 4527 * list. |
4528 */ | 4528 */ |
4529 enum UseCounterFeature { | 4529 enum UseCounterFeature { |
4530 kUseAsm = 0, | 4530 kUseAsm = 0, |
4531 kBreakIterator = 1, | |
4532 kUseCounterFeatureCount // This enum value must be last. | 4531 kUseCounterFeatureCount // This enum value must be last. |
4533 }; | 4532 }; |
4534 | 4533 |
4535 typedef void (*UseCounterCallback)(Isolate* isolate, | 4534 typedef void (*UseCounterCallback)(Isolate* isolate, |
4536 UseCounterFeature feature); | 4535 UseCounterFeature feature); |
4537 | 4536 |
4538 | 4537 |
4539 /** | 4538 /** |
4540 * Creates a new isolate. Does not change the currently entered | 4539 * Creates a new isolate. Does not change the currently entered |
4541 * isolate. | 4540 * isolate. |
(...skipping 2500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7042 */ | 7041 */ |
7043 | 7042 |
7044 | 7043 |
7045 } // namespace v8 | 7044 } // namespace v8 |
7046 | 7045 |
7047 | 7046 |
7048 #undef TYPE_CHECK | 7047 #undef TYPE_CHECK |
7049 | 7048 |
7050 | 7049 |
7051 #endif // V8_H_ | 7050 #endif // V8_H_ |
OLD | NEW |