| 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, |
| 4531 kUseCounterFeatureCount // This enum value must be last. | 4532 kUseCounterFeatureCount // This enum value must be last. |
| 4532 }; | 4533 }; |
| 4533 | 4534 |
| 4534 typedef void (*UseCounterCallback)(Isolate* isolate, | 4535 typedef void (*UseCounterCallback)(Isolate* isolate, |
| 4535 UseCounterFeature feature); | 4536 UseCounterFeature feature); |
| 4536 | 4537 |
| 4537 | 4538 |
| 4538 /** | 4539 /** |
| 4539 * Creates a new isolate. Does not change the currently entered | 4540 * Creates a new isolate. Does not change the currently entered |
| 4540 * isolate. | 4541 * isolate. |
| (...skipping 2500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7041 */ | 7042 */ |
| 7042 | 7043 |
| 7043 | 7044 |
| 7044 } // namespace v8 | 7045 } // namespace v8 |
| 7045 | 7046 |
| 7046 | 7047 |
| 7047 #undef TYPE_CHECK | 7048 #undef TYPE_CHECK |
| 7048 | 7049 |
| 7049 | 7050 |
| 7050 #endif // V8_H_ | 7051 #endif // V8_H_ |
| OLD | NEW |