Chromium Code Reviews| Index: src/flag-definitions.h |
| diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
| index 6f5eaefb1c482e273c4e86d417e6f20c99e7c967..35822f9feb48678d2a44df907f6e5f7fef194e35 100644 |
| --- a/src/flag-definitions.h |
| +++ b/src/flag-definitions.h |
| @@ -570,11 +570,13 @@ DEFINE_BOOL(trace_parse, false, "trace parsing and preparsing") |
| // simulator-arm.cc, simulator-arm64.cc and simulator-mips.cc |
| DEFINE_BOOL(trace_sim, false, "Trace simulator execution") |
| +DEFINE_INT(trace_sim_at, 0, |
| + "Simulator start tracing after x number of instructions") |
|
danno
2014/07/08 09:01:19
Could you please factor this flag and submit is se
dusmil
2014/07/08 11:03:41
Done.
dusmil
2014/07/08 11:03:41
Flag and feature removed. It was used only for Mip
|
| DEFINE_BOOL(debug_sim, false, "Enable debugging the simulator") |
| 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_ARM64 |
| +#if defined(V8_TARGET_ARCH_ARM64) || defined(V8_TARGET_ARCH_MIPS64) |
| 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.") |
| @@ -583,7 +585,8 @@ 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 ARM64 simulator in kBytes (default is 2 MB)") |
| + "Stack size of the ARM64 and MIPS64 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.") |