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

Side by Side Diff: src/flag-definitions.h

Issue 1284413002: Add experimental, non-snapshotted V8 extras (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@non-experimental-extras
Patch Set: Missing gn entries Created 5 years, 4 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 | « src/bootstrapper.cc ('k') | src/heap/heap.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 // This file defines all of the flags. It is separated into different section, 5 // This file defines all of the flags. It is separated into different section,
6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the 6 // for Debug, Release, Logging and Profiling, etc. To add a new flag, find the
7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'. 7 // correct section, and use one of the DEFINE_ macros, without a trailing ';'.
8 // 8 //
9 // This include does not have a guard, because it is a template-style include, 9 // This include does not have a guard, because it is a template-style include,
10 // which can be included multiple times in different modes. It expects to have 10 // which can be included multiple times in different modes. It expects to have
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 #define DEFINE_ALIAS_FLOAT(alias, nam) FLAG_ALIAS(FLOAT, double, alias, nam) 160 #define DEFINE_ALIAS_FLOAT(alias, nam) FLAG_ALIAS(FLOAT, double, alias, nam)
161 #define DEFINE_ALIAS_STRING(alias, nam) \ 161 #define DEFINE_ALIAS_STRING(alias, nam) \
162 FLAG_ALIAS(STRING, const char*, alias, nam) 162 FLAG_ALIAS(STRING, const char*, alias, nam)
163 #define DEFINE_ALIAS_ARGS(alias, nam) FLAG_ALIAS(ARGS, JSArguments, alias, nam) 163 #define DEFINE_ALIAS_ARGS(alias, nam) FLAG_ALIAS(ARGS, JSArguments, alias, nam)
164 164
165 // 165 //
166 // Flags in all modes. 166 // Flags in all modes.
167 // 167 //
168 #define FLAG FLAG_FULL 168 #define FLAG FLAG_FULL
169 169
170 DEFINE_BOOL(experimental_extras, false,
171 "enable code compiled in via v8_experimental_extra_library_files")
172
170 // Flags for language modes and experimental language features. 173 // Flags for language modes and experimental language features.
171 DEFINE_BOOL(use_strict, false, "enforce strict mode") 174 DEFINE_BOOL(use_strict, false, "enforce strict mode")
172 DEFINE_BOOL(use_strong, false, "enforce strong mode") 175 DEFINE_BOOL(use_strong, false, "enforce strong mode")
173 DEFINE_IMPLICATION(use_strong, use_strict) 176 DEFINE_IMPLICATION(use_strong, use_strict)
174 177
175 DEFINE_BOOL(strong_mode, false, "experimental strong language mode") 178 DEFINE_BOOL(strong_mode, false, "experimental strong language mode")
176 DEFINE_IMPLICATION(use_strong, strong_mode) 179 DEFINE_IMPLICATION(use_strong, strong_mode)
177 DEFINE_BOOL(strong_this, true, "don't allow 'this' to escape from constructors") 180 DEFINE_BOOL(strong_this, true, "don't allow 'this' to escape from constructors")
178 181
179 DEFINE_BOOL(es_staging, false, "enable all completed harmony features") 182 DEFINE_BOOL(es_staging, false, "enable all completed harmony features")
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
1092 #undef DEFINE_ALIAS_FLOAT 1095 #undef DEFINE_ALIAS_FLOAT
1093 #undef DEFINE_ALIAS_ARGS 1096 #undef DEFINE_ALIAS_ARGS
1094 1097
1095 #undef FLAG_MODE_DECLARE 1098 #undef FLAG_MODE_DECLARE
1096 #undef FLAG_MODE_DEFINE 1099 #undef FLAG_MODE_DEFINE
1097 #undef FLAG_MODE_DEFINE_DEFAULTS 1100 #undef FLAG_MODE_DEFINE_DEFAULTS
1098 #undef FLAG_MODE_META 1101 #undef FLAG_MODE_META
1099 #undef FLAG_MODE_DEFINE_IMPLICATIONS 1102 #undef FLAG_MODE_DEFINE_IMPLICATIONS
1100 1103
1101 #undef COMMA 1104 #undef COMMA
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/heap/heap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698