Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1254)

Side by Side Diff: include/v8.h

Issue 1020883002: Add a counter for legacy const. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698