Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index c0eaf16da2c22674c7e0d913cb2cffb40a98169d..688b48192f55f9c3a838fe54f4b68fb9bb7fcbb5 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -591,6 +591,8 @@ DEFINE_int(sim_stack_alignment, 8, |
"Stack alingment in bytes in simulator (4 or 8, 8 is default)") |
// isolate.cc |
+DEFINE_bool(stack_trace_on_illegal, false, |
+ "print stack trace when an illegal exception is thrown") |
DEFINE_bool(abort_on_uncaught_exception, false, |
"abort program (dump core) when an uncaught exception is thrown") |
DEFINE_bool(trace_exception, false, |