| Index: src/flag-definitions.h
|
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h
|
| index d6ddaa5713bd3a40c2dd1b84727261f7074dae16..9c88086275d7e1235044708e67460d0fbf5f942a 100644
|
| --- a/src/flag-definitions.h
|
| +++ b/src/flag-definitions.h
|
| @@ -577,13 +577,29 @@ DEFINE_bool(use_verbose_printer, true, "allows verbose printing")
|
| DEFINE_bool(allow_natives_syntax, false, "allow natives syntax")
|
| DEFINE_bool(trace_parse, false, "trace parsing and preparsing")
|
|
|
| -// simulator-arm.cc and simulator-mips.cc
|
| +// simulator-arm.cc, simulator-a64.cc and simulator-mips.cc
|
| DEFINE_bool(trace_sim, false, "Trace simulator execution")
|
| DEFINE_bool(check_icache, false,
|
| "Check icache flushes in ARM and MIPS simulator")
|
| DEFINE_int(stop_sim_at, 0, "Simulator stop after x number of instructions")
|
| +#ifdef V8_TARGET_ARCH_A64
|
| +DEFINE_int(sim_stack_alignment, 16,
|
| + "Stack alignment in bytes in simulator. This must be a power of two "
|
| + "and it must be at least 16. 16 is default.")
|
| +#else
|
| DEFINE_int(sim_stack_alignment, 8,
|
| "Stack alingment in bytes in simulator (4 or 8, 8 is default)")
|
| +#endif
|
| +DEFINE_int(sim_stack_size, 2 * MB / KB,
|
| + "Stack size of the A64 simulator in kBytes (default is 2 MB)")
|
| +DEFINE_bool(log_regs_modified, true,
|
| + "When logging register values, only print modified registers.")
|
| +DEFINE_bool(log_colour, true,
|
| + "When logging, try to use coloured output.")
|
| +DEFINE_bool(ignore_asm_unimplemented_break, false,
|
| + "Don't break for ASM_UNIMPLEMENTED_BREAK macros.")
|
| +DEFINE_bool(trace_sim_messages, false,
|
| + "Trace simulator debug messages. Implied by --trace-sim.")
|
|
|
| // isolate.cc
|
| DEFINE_bool(stack_trace_on_illegal, false,
|
| @@ -794,6 +810,11 @@ DEFINE_bool(log_timer_events, false,
|
| "Time events including external callbacks.")
|
| DEFINE_implication(log_timer_events, log_internal_timer_events)
|
| DEFINE_implication(log_internal_timer_events, prof)
|
| +DEFINE_bool(log_instruction_stats, false, "Log AArch64 instruction statistics.")
|
| +DEFINE_string(log_instruction_file, "a64_inst.csv",
|
| + "AArch64 instruction statistics log file.")
|
| +DEFINE_int(log_instruction_period, 1 << 22,
|
| + "AArch64 instruction statistics logging period.")
|
|
|
| DEFINE_bool(redirect_code_traces, false,
|
| "output deopt information and disassembly into file "
|
|
|