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

Side by Side Diff: include/v8.h

Issue 1757543003: Restrict FunctionDeclarations in Statement position (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: git cl format Created 4 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 | src/bootstrapper.cc » ('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 5467 matching lines...) Expand 10 before | Expand all | Expand 10 after
5478 kPromiseDefer = 19, 5478 kPromiseDefer = 19,
5479 kHtmlCommentInExternalScript = 20, 5479 kHtmlCommentInExternalScript = 20,
5480 kHtmlComment = 21, 5480 kHtmlComment = 21,
5481 kSloppyModeBlockScopedFunctionRedefinition = 22, 5481 kSloppyModeBlockScopedFunctionRedefinition = 22,
5482 kForInInitializer = 23, 5482 kForInInitializer = 23,
5483 kArrayProtectorDirtied = 24, 5483 kArrayProtectorDirtied = 24,
5484 kArraySpeciesModified = 25, 5484 kArraySpeciesModified = 25,
5485 kArrayPrototypeConstructorModified = 26, 5485 kArrayPrototypeConstructorModified = 26,
5486 kArrayInstanceProtoModified = 27, 5486 kArrayInstanceProtoModified = 27,
5487 kArrayInstanceConstructorModified = 28, 5487 kArrayInstanceConstructorModified = 28,
5488 kLegacyFunctionDeclaration = 29,
5488 5489
5489 // If you add new values here, you'll also need to update V8Initializer.cpp 5490 // If you add new values here, you'll also need to update V8Initializer.cpp
5490 // in Chromium. 5491 // in Chromium.
5491 kUseCounterFeatureCount // This enum value must be last. 5492 kUseCounterFeatureCount // This enum value must be last.
5492 }; 5493 };
5493 5494
5494 typedef void (*UseCounterCallback)(Isolate* isolate, 5495 typedef void (*UseCounterCallback)(Isolate* isolate,
5495 UseCounterFeature feature); 5496 UseCounterFeature feature);
5496 5497
5497 5498
(...skipping 3094 matching lines...) Expand 10 before | Expand all | Expand 10 after
8592 */ 8593 */
8593 8594
8594 8595
8595 } // namespace v8 8596 } // namespace v8
8596 8597
8597 8598
8598 #undef TYPE_CHECK 8599 #undef TYPE_CHECK
8599 8600
8600 8601
8601 #endif // INCLUDE_V8_H_ 8602 #endif // INCLUDE_V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/bootstrapper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698