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

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

Issue 12646003: Add parser support for generators. (Closed) Base URL: git://github.com/v8/v8.git@bleeding_edge
Patch Set: Fix bad initialization list in last preparser commit Created 7 years, 8 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
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping") 141 DEFINE_bool(harmony_scoping, false, "enable harmony block scoping")
142 DEFINE_bool(harmony_modules, false, 142 DEFINE_bool(harmony_modules, false,
143 "enable harmony modules (implies block scoping)") 143 "enable harmony modules (implies block scoping)")
144 DEFINE_bool(harmony_symbols, false, 144 DEFINE_bool(harmony_symbols, false,
145 "enable harmony symbols (a.k.a. private names)") 145 "enable harmony symbols (a.k.a. private names)")
146 DEFINE_bool(harmony_proxies, false, "enable harmony proxies") 146 DEFINE_bool(harmony_proxies, false, "enable harmony proxies")
147 DEFINE_bool(harmony_collections, false, 147 DEFINE_bool(harmony_collections, false,
148 "enable harmony collections (sets, maps, and weak maps)") 148 "enable harmony collections (sets, maps, and weak maps)")
149 DEFINE_bool(harmony_observation, false, 149 DEFINE_bool(harmony_observation, false,
150 "enable harmony object observation (implies harmony collections") 150 "enable harmony object observation (implies harmony collections")
151 DEFINE_bool(harmony_generators, false, "enable harmony generators")
151 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") 152 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)")
152 DEFINE_implication(harmony, harmony_scoping) 153 DEFINE_implication(harmony, harmony_scoping)
153 DEFINE_implication(harmony, harmony_modules) 154 DEFINE_implication(harmony, harmony_modules)
154 DEFINE_implication(harmony, harmony_symbols) 155 DEFINE_implication(harmony, harmony_symbols)
155 DEFINE_implication(harmony, harmony_proxies) 156 DEFINE_implication(harmony, harmony_proxies)
156 DEFINE_implication(harmony, harmony_collections) 157 DEFINE_implication(harmony, harmony_collections)
157 DEFINE_implication(harmony, harmony_observation) 158 DEFINE_implication(harmony, harmony_observation)
159 DEFINE_implication(harmony, harmony_generators)
158 DEFINE_implication(harmony_modules, harmony_scoping) 160 DEFINE_implication(harmony_modules, harmony_scoping)
159 DEFINE_implication(harmony_observation, harmony_collections) 161 DEFINE_implication(harmony_observation, harmony_collections)
160 162
161 // Flags for experimental implementation features. 163 // Flags for experimental implementation features.
162 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") 164 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes")
163 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") 165 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values")
164 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to " 166 DEFINE_bool(compiled_transitions, false, "use optimizing compiler to "
165 "generate array elements transition stubs") 167 "generate array elements transition stubs")
166 DEFINE_bool(clever_optimizations, 168 DEFINE_bool(clever_optimizations,
167 true, 169 true,
(...skipping 584 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 #undef DEFINE_bool 754 #undef DEFINE_bool
753 #undef DEFINE_int 755 #undef DEFINE_int
754 #undef DEFINE_string 756 #undef DEFINE_string
755 #undef DEFINE_implication 757 #undef DEFINE_implication
756 758
757 #undef FLAG_MODE_DECLARE 759 #undef FLAG_MODE_DECLARE
758 #undef FLAG_MODE_DEFINE 760 #undef FLAG_MODE_DEFINE
759 #undef FLAG_MODE_DEFINE_DEFAULTS 761 #undef FLAG_MODE_DEFINE_DEFAULTS
760 #undef FLAG_MODE_META 762 #undef FLAG_MODE_META
761 #undef FLAG_MODE_DEFINE_IMPLICATIONS 763 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/full-codegen.cc » ('j') | test/mjsunit/harmony/generators-parsing.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698