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

Side by Side Diff: include/v8.h

Issue 1429173002: Add strict mode, sloppy mode and strong mode UseCounters (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: RaiseLanguageMode Created 5 years, 1 month 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 | src/parser.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 5410 matching lines...) Expand 10 before | Expand all | Expand 10 after
5421 */ 5421 */
5422 enum UseCounterFeature { 5422 enum UseCounterFeature {
5423 kUseAsm = 0, 5423 kUseAsm = 0,
5424 kBreakIterator = 1, 5424 kBreakIterator = 1,
5425 kLegacyConst = 2, 5425 kLegacyConst = 2,
5426 kMarkDequeOverflow = 3, 5426 kMarkDequeOverflow = 3,
5427 kStoreBufferOverflow = 4, 5427 kStoreBufferOverflow = 4,
5428 kSlotsBufferOverflow = 5, 5428 kSlotsBufferOverflow = 5,
5429 kObjectObserve = 6, 5429 kObjectObserve = 6,
5430 kForcedGC = 7, 5430 kForcedGC = 7,
5431 kSloppyMode = 8,
5432 kStrictMode = 9,
5433 kStrongMode = 10,
5431 kUseCounterFeatureCount // This enum value must be last. 5434 kUseCounterFeatureCount // This enum value must be last.
5432 }; 5435 };
5433 5436
5434 typedef void (*UseCounterCallback)(Isolate* isolate, 5437 typedef void (*UseCounterCallback)(Isolate* isolate,
5435 UseCounterFeature feature); 5438 UseCounterFeature feature);
5436 5439
5437 5440
5438 /** 5441 /**
5439 * Creates a new isolate. Does not change the currently entered 5442 * Creates a new isolate. Does not change the currently entered
5440 * isolate. 5443 * isolate.
(...skipping 3038 matching lines...) Expand 10 before | Expand all | Expand 10 after
8479 */ 8482 */
8480 8483
8481 8484
8482 } // namespace v8 8485 } // namespace v8
8483 8486
8484 8487
8485 #undef TYPE_CHECK 8488 #undef TYPE_CHECK
8486 8489
8487 8490
8488 #endif // V8_H_ 8491 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698