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

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

Issue 21079003: Add new Harmony methods to Array.prototype object. (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: review changes Created 7 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/harmony-array.js » ('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 // 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 DEFINE_bool(harmony_typed_arrays, false, 167 DEFINE_bool(harmony_typed_arrays, false,
168 "enable harmony typed arrays") 168 "enable harmony typed arrays")
169 DEFINE_bool(harmony_array_buffer, false, 169 DEFINE_bool(harmony_array_buffer, false,
170 "enable harmony array buffer") 170 "enable harmony array buffer")
171 DEFINE_implication(harmony_typed_arrays, harmony_array_buffer) 171 DEFINE_implication(harmony_typed_arrays, harmony_array_buffer)
172 DEFINE_bool(harmony_generators, false, "enable harmony generators") 172 DEFINE_bool(harmony_generators, false, "enable harmony generators")
173 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)") 173 DEFINE_bool(harmony_iteration, false, "enable harmony iteration (for-of)")
174 DEFINE_bool(harmony_numeric_literals, false, 174 DEFINE_bool(harmony_numeric_literals, false,
175 "enable harmony numeric literals (0o77, 0b11)") 175 "enable harmony numeric literals (0o77, 0b11)")
176 DEFINE_bool(harmony_strings, false, "enable harmony string") 176 DEFINE_bool(harmony_strings, false, "enable harmony string")
177 DEFINE_bool(harmony_arrays, false, "enable harmony arrays")
177 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)") 178 DEFINE_bool(harmony, false, "enable all harmony features (except typeof)")
178 DEFINE_implication(harmony, harmony_scoping) 179 DEFINE_implication(harmony, harmony_scoping)
179 DEFINE_implication(harmony, harmony_modules) 180 DEFINE_implication(harmony, harmony_modules)
180 DEFINE_implication(harmony, harmony_symbols) 181 DEFINE_implication(harmony, harmony_symbols)
181 DEFINE_implication(harmony, harmony_proxies) 182 DEFINE_implication(harmony, harmony_proxies)
182 DEFINE_implication(harmony, harmony_collections) 183 DEFINE_implication(harmony, harmony_collections)
183 DEFINE_implication(harmony, harmony_observation) 184 DEFINE_implication(harmony, harmony_observation)
184 DEFINE_implication(harmony, harmony_generators) 185 DEFINE_implication(harmony, harmony_generators)
185 DEFINE_implication(harmony, harmony_iteration) 186 DEFINE_implication(harmony, harmony_iteration)
186 DEFINE_implication(harmony, harmony_numeric_literals) 187 DEFINE_implication(harmony, harmony_numeric_literals)
187 DEFINE_implication(harmony, harmony_strings) 188 DEFINE_implication(harmony, harmony_strings)
189 DEFINE_implication(harmony, harmony_arrays)
188 DEFINE_implication(harmony_modules, harmony_scoping) 190 DEFINE_implication(harmony_modules, harmony_scoping)
189 DEFINE_implication(harmony_observation, harmony_collections) 191 DEFINE_implication(harmony_observation, harmony_collections)
190 // TODO[dslomov] add harmony => harmony_typed_arrays 192 // TODO[dslomov] add harmony => harmony_typed_arrays
191 193
192 // Flags for experimental implementation features. 194 // Flags for experimental implementation features.
193 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes") 195 DEFINE_bool(packed_arrays, true, "optimizes arrays that have no holes")
194 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values") 196 DEFINE_bool(smi_only_arrays, true, "tracks arrays with only smi values")
195 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to " 197 DEFINE_bool(compiled_keyed_stores, true, "use optimizing compiler to "
196 "generate keyed store stubs") 198 "generate keyed store stubs")
197 DEFINE_bool(clever_optimizations, 199 DEFINE_bool(clever_optimizations,
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
813 #undef DEFINE_bool 815 #undef DEFINE_bool
814 #undef DEFINE_int 816 #undef DEFINE_int
815 #undef DEFINE_string 817 #undef DEFINE_string
816 #undef DEFINE_implication 818 #undef DEFINE_implication
817 819
818 #undef FLAG_MODE_DECLARE 820 #undef FLAG_MODE_DECLARE
819 #undef FLAG_MODE_DEFINE 821 #undef FLAG_MODE_DEFINE
820 #undef FLAG_MODE_DEFINE_DEFAULTS 822 #undef FLAG_MODE_DEFINE_DEFAULTS
821 #undef FLAG_MODE_META 823 #undef FLAG_MODE_META
822 #undef FLAG_MODE_DEFINE_IMPLICATIONS 824 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « src/bootstrapper.cc ('k') | src/harmony-array.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698