| Index: src/flag-definitions.h
|
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h
|
| index 9d845c45c91ac90dfbe018ff89b4fcf97e199210..69ff67e8d38d86caa73b863564edefc0967413c9 100644
|
| --- a/src/flag-definitions.h
|
| +++ b/src/flag-definitions.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2008 the V8 project authors. All rights reserved.
|
| +// Copyright 2010 the V8 project authors. All rights reserved.
|
| // Redistribution and use in source and binary forms, with or without
|
| // modification, are permitted provided that the following conditions are
|
| // met:
|
| @@ -96,9 +96,56 @@ private:
|
| //
|
| #define FLAG FLAG_FULL
|
|
|
| +// Flags for Crankshaft.
|
| +#ifdef V8_TARGET_ARCH_IA32
|
| +DEFINE_bool(crankshaft, true, "use crankshaft")
|
| +#else
|
| +DEFINE_bool(crankshaft, false, "use crankshaft")
|
| +#endif
|
| +DEFINE_string(hydrogen_filter, "", "hydrogen use/trace filter")
|
| +DEFINE_bool(use_hydrogen, true, "use generated hydrogen for compilation")
|
| +DEFINE_bool(build_lithium, true, "use lithium chunk builder")
|
| +DEFINE_bool(alloc_lithium, true, "use lithium register allocator")
|
| +DEFINE_bool(use_lithium, true, "use lithium code generator")
|
| +DEFINE_bool(use_range, true, "use hydrogen range analysis")
|
| +DEFINE_bool(eliminate_dead_phis, true, "eliminate dead phis")
|
| +DEFINE_bool(use_gvn, true, "use hydrogen global value numbering")
|
| +DEFINE_bool(use_peeling, false, "use loop peeling")
|
| +DEFINE_bool(use_canonicalizing, true, "use hydrogen instruction canonicalizing")
|
| +DEFINE_bool(use_inlining, true, "use function inlining")
|
| +DEFINE_bool(limit_inlining, true, "limit code size growth from inlining")
|
| +DEFINE_bool(eliminate_empty_blocks, true, "eliminate empty blocks")
|
| +DEFINE_bool(loop_invariant_code_motion, true, "loop invariant code motion")
|
| +DEFINE_bool(time_hydrogen, false, "timing for hydrogen")
|
| +DEFINE_bool(trace_hydrogen, false, "trace generated hydrogen to file")
|
| +DEFINE_bool(trace_inlining, false, "trace inlining decisions")
|
| +DEFINE_bool(trace_alloc, false, "trace register allocator")
|
| +DEFINE_bool(trace_range, false, "trace range analysis")
|
| +DEFINE_bool(trace_gvn, false, "trace global value numbering")
|
| +DEFINE_bool(trace_environment, false, "trace lithium environments")
|
| +DEFINE_bool(trace_representation, false, "trace representation types")
|
| +DEFINE_bool(stress_pointer_maps, false, "pointer map for every instruction")
|
| +DEFINE_bool(stress_environments, false, "environment for every instruction")
|
| +DEFINE_int(deopt_every_n_times,
|
| + 0,
|
| + "deoptimize every n times a deopt point is passed")
|
| +DEFINE_bool(process_arguments_object, true, "try to deal with arguments object")
|
| +DEFINE_bool(trap_on_deopt, false, "put a break point before deoptimizing")
|
| +DEFINE_bool(deoptimize_uncommon_cases, true, "deoptimize uncommon cases")
|
| +DEFINE_bool(polymorphic_inlining, true, "polymorphic inlining")
|
| +DEFINE_bool(aggressive_loop_invariant_motion, true,
|
| + "aggressive motion of instructions out of loops")
|
| +#ifdef V8_TARGET_ARCH_IA32
|
| +DEFINE_bool(use_osr, true, "use on-stack replacement")
|
| +#else
|
| +DEFINE_bool(use_osr, false, "use on-stack replacement")
|
| +#endif
|
| +DEFINE_bool(trace_osr, false, "trace on-stack replacement")
|
| +
|
| // assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc
|
| DEFINE_bool(debug_code, false,
|
| - "generate extra code (comments, assertions) for debugging")
|
| + "generate extra code (assertions) for debugging")
|
| +DEFINE_bool(code_comments, false, "emit comments in code disassembly")
|
| DEFINE_bool(emit_branch_hints, false, "emit branch hints")
|
| DEFINE_bool(peephole_optimization, true,
|
| "perform peephole optimizations in assembly code")
|
| @@ -146,7 +193,14 @@ DEFINE_bool(mask_constants_with_cookie,
|
|
|
| // codegen.cc
|
| DEFINE_bool(lazy, true, "use lazy compilation")
|
| +DEFINE_bool(trace_opt, false, "trace lazy optimization")
|
| +DEFINE_bool(opt, true, "use adaptive optimizations")
|
| +DEFINE_bool(opt_eagerly, false, "be more eager when adaptively optimizing")
|
| +DEFINE_bool(always_opt, false, "always try to optimize functions")
|
| +DEFINE_bool(prepare_always_opt, false, "prepare for turning on always opt")
|
| DEFINE_bool(debug_info, true, "add debug information to compiled functions")
|
| +DEFINE_bool(deopt, true, "support deoptimization")
|
| +DEFINE_bool(trace_deopt, false, "trace deoptimization")
|
|
|
| // compiler.cc
|
| DEFINE_bool(strict, false, "strict error checking")
|
| @@ -367,6 +421,9 @@ DEFINE_bool(collect_heap_spill_statistics, false,
|
|
|
| DEFINE_bool(trace_isolates, false, "trace isolate state changes")
|
|
|
| +// VM state
|
| +DEFINE_bool(log_state_changes, false, "Log state changes.")
|
| +
|
| // Regexp
|
| DEFINE_bool(regexp_possessive_quantifier,
|
| false,
|
| @@ -399,7 +456,6 @@ DEFINE_bool(log_gc, false,
|
| DEFINE_bool(log_handles, false, "Log global handle events.")
|
| DEFINE_bool(log_snapshot_positions, false,
|
| "log positions of (de)serialized objects in the snapshot.")
|
| -DEFINE_bool(log_state_changes, false, "Log state changes.")
|
| DEFINE_bool(log_suspect, false, "Log suspect operations.")
|
| DEFINE_bool(log_producers, false, "Log stack traces of JS objects allocations.")
|
| DEFINE_bool(compress_log, false,
|
| @@ -448,6 +504,8 @@ DEFINE_bool(print_code_stubs, false, "print code stubs")
|
|
|
| // codegen-ia32.cc / codegen-arm.cc
|
| DEFINE_bool(print_code, false, "print generated code")
|
| +DEFINE_bool(print_opt_code, false, "print optimized code")
|
| +DEFINE_bool(print_code_verbose, false, "print more information for code")
|
| DEFINE_bool(print_builtin_code, false, "print generated code for builtins")
|
|
|
| // Cleanup...
|
|
|