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

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

Issue 10103035: Share optimized code for closures. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: rebased on r11394 Created 8 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 | Annotate | Revision Log
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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 0, 185 0,
186 "deoptimize every n times a deopt point is passed") 186 "deoptimize every n times a deopt point is passed")
187 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") 187 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing")
188 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") 188 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases")
189 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") 189 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining")
190 DEFINE_bool(use_osr, true, "use on-stack replacement") 190 DEFINE_bool(use_osr, true, "use on-stack replacement")
191 191
192 DEFINE_bool(trace_osr, false, "trace on-stack replacement") 192 DEFINE_bool(trace_osr, false, "trace on-stack replacement")
193 DEFINE_int(stress_runs, 0, "number of stress runs") 193 DEFINE_int(stress_runs, 0, "number of stress runs")
194 DEFINE_bool(optimize_closures, true, "optimize closures") 194 DEFINE_bool(optimize_closures, true, "optimize closures")
195 DEFINE_bool(lookup_sample_by_shared, true,
196 "when picking a function to optimize, watch for shared function "
197 "info, not JSFunction itself")
198 DEFINE_bool(cache_optimized_code, true,
199 "cache optimized code for closures")
195 DEFINE_bool(inline_construct, true, "inline constructor calls") 200 DEFINE_bool(inline_construct, true, "inline constructor calls")
196 DEFINE_bool(inline_arguments, true, "inline functions with arguments object") 201 DEFINE_bool(inline_arguments, true, "inline functions with arguments object")
197 DEFINE_int(loop_weight, 1, "loop weight for representation inference") 202 DEFINE_int(loop_weight, 1, "loop weight for representation inference")
198 203
199 DEFINE_bool(optimize_for_in, true, 204 DEFINE_bool(optimize_for_in, true,
200 "optimize functions containing for-in loops") 205 "optimize functions containing for-in loops")
201 206
202 // Experimental profiler changes. 207 // Experimental profiler changes.
203 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments") 208 DEFINE_bool(experimental_profiler, true, "enable all profiler experiments")
204 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability") 209 DEFINE_bool(watch_ic_patching, false, "profiler considers IC stability")
(...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 #undef DEFINE_bool 649 #undef DEFINE_bool
645 #undef DEFINE_int 650 #undef DEFINE_int
646 #undef DEFINE_string 651 #undef DEFINE_string
647 #undef DEFINE_implication 652 #undef DEFINE_implication
648 653
649 #undef FLAG_MODE_DECLARE 654 #undef FLAG_MODE_DECLARE
650 #undef FLAG_MODE_DEFINE 655 #undef FLAG_MODE_DEFINE
651 #undef FLAG_MODE_DEFINE_DEFAULTS 656 #undef FLAG_MODE_DEFINE_DEFAULTS
652 #undef FLAG_MODE_META 657 #undef FLAG_MODE_META
653 #undef FLAG_MODE_DEFINE_IMPLICATIONS 658 #undef FLAG_MODE_DEFINE_IMPLICATIONS
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698