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

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

Issue 15119004: Put preservation of optimized code map behind a flag. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/objects-visiting-inl.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 // 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 DEFINE_bool(optimize_constructed_arrays, true, 261 DEFINE_bool(optimize_constructed_arrays, true,
262 "Use allocation site info on constructed arrays") 262 "Use allocation site info on constructed arrays")
263 DEFINE_bool(trace_osr, false, "trace on-stack replacement") 263 DEFINE_bool(trace_osr, false, "trace on-stack replacement")
264 DEFINE_int(stress_runs, 0, "number of stress runs") 264 DEFINE_int(stress_runs, 0, "number of stress runs")
265 DEFINE_bool(optimize_closures, true, "optimize closures") 265 DEFINE_bool(optimize_closures, true, "optimize closures")
266 DEFINE_bool(lookup_sample_by_shared, true, 266 DEFINE_bool(lookup_sample_by_shared, true,
267 "when picking a function to optimize, watch for shared function " 267 "when picking a function to optimize, watch for shared function "
268 "info, not JSFunction itself") 268 "info, not JSFunction itself")
269 DEFINE_bool(cache_optimized_code, true, 269 DEFINE_bool(cache_optimized_code, true,
270 "cache optimized code for closures") 270 "cache optimized code for closures")
271 DEFINE_bool(flush_optimized_code_cache, true,
272 "flushes the cache of optimized code for closures on every GC")
271 DEFINE_bool(inline_construct, true, "inline constructor calls") 273 DEFINE_bool(inline_construct, true, "inline constructor calls")
272 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") 274 DEFINE_bool(inline_arguments, true, "inline functions with arguments object")
273 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors") 275 DEFINE_bool(inline_accessors, true, "inline JavaScript accessors")
274 DEFINE_int(loop_weight, 1, "loop weight for representation inference") 276 DEFINE_int(loop_weight, 1, "loop weight for representation inference")
275 277
276 DEFINE_bool(optimize_for_in, true, 278 DEFINE_bool(optimize_for_in, true,
277 "optimize functions containing for-in loops") 279 "optimize functions containing for-in loops")
278 DEFINE_bool(opt_safe_uint32_operations, true, 280 DEFINE_bool(opt_safe_uint32_operations, true,
279 "allow uint32 values on optimize frames if they are used only in " 281 "allow uint32 values on optimize frames if they are used only in "
280 "safe operations") 282 "safe operations")
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 #undef DEFINE_bool 787 #undef DEFINE_bool
786 #undef DEFINE_int 788 #undef DEFINE_int
787 #undef DEFINE_string 789 #undef DEFINE_string
788 #undef DEFINE_implication 790 #undef DEFINE_implication
789 791
790 #undef FLAG_MODE_DECLARE 792 #undef FLAG_MODE_DECLARE
791 #undef FLAG_MODE_DEFINE 793 #undef FLAG_MODE_DEFINE
792 #undef FLAG_MODE_DEFINE_DEFAULTS 794 #undef FLAG_MODE_DEFINE_DEFAULTS
793 #undef FLAG_MODE_META 795 #undef FLAG_MODE_META
794 #undef FLAG_MODE_DEFINE_IMPLICATIONS 796 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW
« no previous file with comments | « no previous file | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698