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

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

Issue 6529032: Merge 6168:6800 from bleeding_edge to experimental/gc branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 years, 10 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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 DEFINE_bool(stress_environments, false, "environment for every instruction") 127 DEFINE_bool(stress_environments, false, "environment for every instruction")
128 DEFINE_int(deopt_every_n_times, 128 DEFINE_int(deopt_every_n_times,
129 0, 129 0,
130 "deoptimize every n times a deopt point is passed") 130 "deoptimize every n times a deopt point is passed")
131 DEFINE_bool(process_arguments_object, true, "try to deal with arguments object") 131 DEFINE_bool(process_arguments_object, true, "try to deal with arguments object")
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 #ifdef V8_TARGET_ARCH_IA32 137 #ifdef V8_TARGET_ARCH_X64
138 DEFINE_bool(use_osr, false, "use on-stack replacement")
139 #else
138 DEFINE_bool(use_osr, true, "use on-stack replacement") 140 DEFINE_bool(use_osr, true, "use on-stack replacement")
139 #else
140 DEFINE_bool(use_osr, false, "use on-stack replacement")
141 #endif 141 #endif
142 DEFINE_bool(trace_osr, false, "trace on-stack replacement") 142 DEFINE_bool(trace_osr, false, "trace on-stack replacement")
143 DEFINE_int(stress_runs, 0, "number of stress runs") 143 DEFINE_int(stress_runs, 0, "number of stress runs")
144 DEFINE_bool(optimize_closures, true, "optimize closures")
144 145
145 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc 146 // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
146 DEFINE_bool(debug_code, false, 147 DEFINE_bool(debug_code, false,
147 "generate extra code (assertions) for debugging") 148 "generate extra code (assertions) for debugging")
148 DEFINE_bool(code_comments, false, "emit comments in code disassembly") 149 DEFINE_bool(code_comments, false, "emit comments in code disassembly")
149 DEFINE_bool(emit_branch_hints, false, "emit branch hints") 150 DEFINE_bool(emit_branch_hints, false, "emit branch hints")
150 DEFINE_bool(peephole_optimization, true, 151 DEFINE_bool(peephole_optimization, true,
151 "perform peephole optimizations in assembly code") 152 "perform peephole optimizations in assembly code")
152 DEFINE_bool(print_peephole_optimization, false, 153 DEFINE_bool(print_peephole_optimization, false,
153 "print peephole optimizations in assembly code") 154 "print peephole optimizations in assembly code")
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 DEFINE_bool(loop_peeling, false, "Peel off the first iteration of loops.") 224 DEFINE_bool(loop_peeling, false, "Peel off the first iteration of loops.")
224 225
225 // debug.cc 226 // debug.cc
226 DEFINE_bool(remote_debugging, false, "enable remote debugging") 227 DEFINE_bool(remote_debugging, false, "enable remote debugging")
227 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response") 228 DEFINE_bool(trace_debug_json, false, "trace debugging JSON request/response")
228 DEFINE_bool(debugger_auto_break, true, 229 DEFINE_bool(debugger_auto_break, true,
229 "automatically set the debug break flag when debugger commands are " 230 "automatically set the debug break flag when debugger commands are "
230 "in the queue") 231 "in the queue")
231 DEFINE_bool(enable_liveedit, true, "enable liveedit experimental feature") 232 DEFINE_bool(enable_liveedit, true, "enable liveedit experimental feature")
232 233
234 // execution.cc
235 DEFINE_int(stack_size, kPointerSize * 128,
236 "default size of stack region v8 is allowed to use (in KkBytes)")
237
233 // frames.cc 238 // frames.cc
234 DEFINE_int(max_stack_trace_source_length, 300, 239 DEFINE_int(max_stack_trace_source_length, 300,
235 "maximum length of function source code printed in a stack trace.") 240 "maximum length of function source code printed in a stack trace.")
236 241
237 // full-codegen.cc 242 // full-codegen.cc
238 DEFINE_bool(always_inline_smi_code, false, 243 DEFINE_bool(always_inline_smi_code, false,
239 "always inline smi code in non-opt code") 244 "always inline smi code in non-opt code")
240 245
241 // heap.cc 246 // heap.cc
242 DEFINE_int(max_new_space_size, 0, "max size of the new generation (in kBytes)") 247 DEFINE_int(max_new_space_size, 0, "max size of the new generation (in kBytes)")
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 298
294 // mksnapshot.cc 299 // mksnapshot.cc
295 DEFINE_bool(h, false, "print this message") 300 DEFINE_bool(h, false, "print this message")
296 DEFINE_bool(new_snapshot, true, "use new snapshot implementation") 301 DEFINE_bool(new_snapshot, true, "use new snapshot implementation")
297 302
298 // objects.cc 303 // objects.cc
299 DEFINE_bool(use_verbose_printer, true, "allows verbose printing") 304 DEFINE_bool(use_verbose_printer, true, "allows verbose printing")
300 305
301 // parser.cc 306 // parser.cc
302 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax") 307 DEFINE_bool(allow_natives_syntax, false, "allow natives syntax")
308 DEFINE_bool(strict_mode, true, "allow strict mode directives")
303 309
304 // rewriter.cc 310 // rewriter.cc
305 DEFINE_bool(optimize_ast, true, "optimize the ast") 311 DEFINE_bool(optimize_ast, true, "optimize the ast")
306 312
307 // simulator-arm.cc and simulator-mips.cc 313 // simulator-arm.cc and simulator-mips.cc
308 DEFINE_bool(trace_sim, false, "Trace simulator execution") 314 DEFINE_bool(trace_sim, false, "Trace simulator execution")
309 DEFINE_bool(check_icache, false, "Check icache flushes in ARM simulator") 315 DEFINE_bool(check_icache, false, "Check icache flushes in ARM simulator")
310 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions") 316 DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions")
311 DEFINE_int(sim_stack_alignment, 8, 317 DEFINE_int(sim_stack_alignment, 8,
312 "Stack alingment in bytes in simulator (4 or 8, 8 is default)") 318 "Stack alingment in bytes in simulator (4 or 8, 8 is default)")
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 DEFINE_bool(dump_counters, false, "Dump counters on exit") 354 DEFINE_bool(dump_counters, false, "Dump counters on exit")
349 DEFINE_bool(debugger, false, "Enable JavaScript debugger") 355 DEFINE_bool(debugger, false, "Enable JavaScript debugger")
350 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the " 356 DEFINE_bool(remote_debugger, false, "Connect JavaScript debugger to the "
351 "debugger agent in another process") 357 "debugger agent in another process")
352 DEFINE_bool(debugger_agent, false, "Enable debugger agent") 358 DEFINE_bool(debugger_agent, false, "Enable debugger agent")
353 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging") 359 DEFINE_int(debugger_port, 5858, "Port to use for remote debugging")
354 DEFINE_string(map_counters, NULL, "Map counters to a file") 360 DEFINE_string(map_counters, NULL, "Map counters to a file")
355 DEFINE_args(js_arguments, JSArguments(), 361 DEFINE_args(js_arguments, JSArguments(),
356 "Pass all remaining arguments to the script. Alias for \"--\".") 362 "Pass all remaining arguments to the script. Alias for \"--\".")
357 363
364 #if defined(WEBOS__)
365 DEFINE_bool(debug_compile_events, false, "Enable debugger compile events")
366 DEFINE_bool(debug_script_collected_events, false,
367 "Enable debugger script collected events")
368 #else
369 DEFINE_bool(debug_compile_events, true, "Enable debugger compile events")
370 DEFINE_bool(debug_script_collected_events, true,
371 "Enable debugger script collected events")
372 #endif
373
374
375 //
376 // GDB JIT integration flags.
377 //
378
379 DEFINE_bool(gdbjit, false, "enable GDBJIT interface (disables compacting GC)")
380 DEFINE_bool(gdbjit_full, false, "enable GDBJIT interface for all code objects")
381
358 // 382 //
359 // Debug only flags 383 // Debug only flags
360 // 384 //
361 #undef FLAG 385 #undef FLAG
362 #ifdef DEBUG 386 #ifdef DEBUG
363 #define FLAG FLAG_FULL 387 #define FLAG FLAG_FULL
364 #else 388 #else
365 #define FLAG FLAG_READONLY 389 #define FLAG FLAG_READONLY
366 #endif 390 #endif
367 391
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 "Used with --prof, starts profiling automatically") 490 "Used with --prof, starts profiling automatically")
467 DEFINE_bool(prof_lazy, false, 491 DEFINE_bool(prof_lazy, false,
468 "Used with --prof, only does sampling and logging" 492 "Used with --prof, only does sampling and logging"
469 " when profiler is active (implies --noprof_auto).") 493 " when profiler is active (implies --noprof_auto).")
470 DEFINE_bool(prof_browser_mode, true, 494 DEFINE_bool(prof_browser_mode, true,
471 "Used with --prof, turns on browser-compatible mode for profiling.") 495 "Used with --prof, turns on browser-compatible mode for profiling.")
472 DEFINE_bool(log_regexp, false, "Log regular expression execution.") 496 DEFINE_bool(log_regexp, false, "Log regular expression execution.")
473 DEFINE_bool(sliding_state_window, false, 497 DEFINE_bool(sliding_state_window, false,
474 "Update sliding state window counters.") 498 "Update sliding state window counters.")
475 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.") 499 DEFINE_string(logfile, "v8.log", "Specify the name of the log file.")
476 DEFINE_bool(oprofile, false, "Enable JIT agent for OProfile.")
477 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.") 500 DEFINE_bool(ll_prof, false, "Enable low-level linux profiler.")
478 501
479 // 502 //
480 // Heap protection flags 503 // Heap protection flags
481 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well. 504 // Using heap protection requires ENABLE_LOGGING_AND_PROFILING as well.
482 // 505 //
483 #ifdef ENABLE_HEAP_PROTECTION 506 #ifdef ENABLE_HEAP_PROTECTION
484 #undef FLAG 507 #undef FLAG
485 #define FLAG FLAG_FULL 508 #define FLAG FLAG_FULL
486 509
(...skipping 29 matching lines...) Expand all
516 #undef FLAG 539 #undef FLAG
517 540
518 #undef DEFINE_bool 541 #undef DEFINE_bool
519 #undef DEFINE_int 542 #undef DEFINE_int
520 #undef DEFINE_string 543 #undef DEFINE_string
521 544
522 #undef FLAG_MODE_DECLARE 545 #undef FLAG_MODE_DECLARE
523 #undef FLAG_MODE_DEFINE 546 #undef FLAG_MODE_DEFINE
524 #undef FLAG_MODE_DEFINE_DEFAULTS 547 #undef FLAG_MODE_DEFINE_DEFAULTS
525 #undef FLAG_MODE_META 548 #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