Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 8a9436e6b26aa634096790ea7d51ad68eff4c126..99ad02020a30785d09f13ba208e1344edbcea997 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -144,6 +144,11 @@ struct MaybeBoolFlag { |
#else |
# define ENABLE_NEON_DEFAULT false |
#endif |
+#ifdef V8_OS_WIN |
+# define ENABLE_LOG_COLOUR false |
+#else |
+# define ENABLE_LOG_COLOUR true |
+#endif |
#define DEFINE_BOOL(nam, def, cmt) FLAG(BOOL, bool, nam, def, cmt) |
#define DEFINE_BOOL_READONLY(nam, def, cmt) \ |
@@ -301,6 +306,8 @@ DEFINE_BOOL(ignition, false, "use ignition interpreter") |
DEFINE_STRING(ignition_filter, "*", "filter for ignition interpreter") |
DEFINE_BOOL(print_bytecode, false, |
"print bytecode generated by ignition interpreter") |
+DEFINE_BOOL(trace_ignition, false, |
+ "trace the bytecodes executed by the ignition interpreter") |
DEFINE_BOOL(trace_ignition_codegen, false, |
"trace the codegen of ignition interpreter bytecode handlers") |
@@ -787,7 +794,8 @@ DEFINE_INT(sim_stack_size, 2 * MB / KB, |
"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(log_colour, ENABLE_LOG_COLOUR, |
+ "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, |