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