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

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

Issue 6793013: Cache optimized code on shared function info. Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 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
« no previous file with comments | « src/factory.cc ('k') | src/frames.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing") 132 DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing")
133 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases") 133 DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases")
134 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining") 134 DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining")
135 DEFINE_bool(aggressive_loop_invariant_motion, true, 135 DEFINE_bool(aggressive_loop_invariant_motion, true,
136 "aggressive motion of instructions out of loops") 136 "aggressive motion of instructions out of loops")
137 DEFINE_bool(use_osr, true, "use on-stack replacement") 137 DEFINE_bool(use_osr, true, "use on-stack replacement")
138 138
139 DEFINE_bool(trace_osr, false, "trace on-stack replacement") 139 DEFINE_bool(trace_osr, false, "trace on-stack replacement")
140 DEFINE_int(stress_runs, 0, "number of stress runs") 140 DEFINE_int(stress_runs, 0, "number of stress runs")
141 DEFINE_bool(optimize_closures, true, "optimize closures") 141 DEFINE_bool(optimize_closures, true, "optimize closures")
142 DEFINE_bool(lookup_sample_by_shared, false,
143 "when picking a function to optimize, watch for shared function "
144 "info, not JSFunction itself")
145 DEFINE_bool(cache_optimized_code, true,
146 "cache optimized code for closures")
142 147
143 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc 148 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
144 DEFINE_bool(debug_code, false, 149 DEFINE_bool(debug_code, false,
145 "generate extra code (assertions) for debugging") 150 "generate extra code (assertions) for debugging")
146 DEFINE_bool(code_comments, false, "emit comments in code disassembly") 151 DEFINE_bool(code_comments, false, "emit comments in code disassembly")
147 DEFINE_bool(emit_branch_hints, false, "emit branch hints") 152 DEFINE_bool(emit_branch_hints, false, "emit branch hints")
148 DEFINE_bool(peephole_optimization, true, 153 DEFINE_bool(peephole_optimization, true,
149 "perform peephole optimizations in assembly code") 154 "perform peephole optimizations in assembly code")
150 DEFINE_bool(print_peephole_optimization, false, 155 DEFINE_bool(print_peephole_optimization, false,
151 "print peephole optimizations in assembly code") 156 "print peephole optimizations in assembly code")
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 #undef FLAG 552 #undef FLAG
548 553
549 #undef DEFINE_bool 554 #undef DEFINE_bool
550 #undef DEFINE_int 555 #undef DEFINE_int
551 #undef DEFINE_string 556 #undef DEFINE_string
552 557
553 #undef FLAG_MODE_DECLARE 558 #undef FLAG_MODE_DECLARE
554 #undef FLAG_MODE_DEFINE 559 #undef FLAG_MODE_DEFINE
555 #undef FLAG_MODE_DEFINE_DEFAULTS 560 #undef FLAG_MODE_DEFINE_DEFAULTS
556 #undef FLAG_MODE_META 561 #undef FLAG_MODE_META
OLDNEW
« no previous file with comments | « src/factory.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698