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

Side by Side Diff: include/v8.h

Issue 336863007: Parser: add usage counters for "use asm". (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: code review (jochen@) Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/ast-value-factory.h » ('j') | 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 4116 matching lines...) Expand 10 before | Expand all | Expand 10 after
4127 kFullGarbageCollection, 4127 kFullGarbageCollection,
4128 kMinorGarbageCollection 4128 kMinorGarbageCollection
4129 }; 4129 };
4130 4130
4131 /** 4131 /**
4132 * Features reported via the SetUseCounterCallback callback. Do not chang 4132 * Features reported via the SetUseCounterCallback callback. Do not chang
4133 * assigned numbers of existing items; add new features to the end of this 4133 * assigned numbers of existing items; add new features to the end of this
4134 * list. 4134 * list.
4135 */ 4135 */
4136 enum UseCounterFeature { 4136 enum UseCounterFeature {
4137 kUseAsm = 0 4137 kUseAsm = 0,
4138 kUseCounterFeatureCount // This enum value must be last.
4138 }; 4139 };
4139 4140
4140 typedef void (*UseCounterCallback)(Isolate* isolate, 4141 typedef void (*UseCounterCallback)(Isolate* isolate,
4141 UseCounterFeature feature); 4142 UseCounterFeature feature);
4142 4143
4143 4144
4144 /** 4145 /**
4145 * Creates a new isolate. Does not change the currently entered 4146 * Creates a new isolate. Does not change the currently entered
4146 * isolate. 4147 * isolate.
4147 * 4148 *
(...skipping 2553 matching lines...) Expand 10 before | Expand all | Expand 10 after
6701 */ 6702 */
6702 6703
6703 6704
6704 } // namespace v8 6705 } // namespace v8
6705 6706
6706 6707
6707 #undef TYPE_CHECK 6708 #undef TYPE_CHECK
6708 6709
6709 6710
6710 #endif // V8_H_ 6711 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/ast-value-factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698