Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index e7180a0ccbb72624297856db3491f03537a1ad1f..d307c2350b86d244841bab83556e4acf13214a5c 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -835,8 +835,19 @@ DEFINE_bool(print_unopt_code, false, "print unoptimized code before " |
"printing optimized code based on it") |
DEFINE_bool(print_code_verbose, false, "print more information for code") |
DEFINE_bool(print_builtin_code, false, "print generated code for builtins") |
+DEFINE_bool(emit_opt_code_positions, |
+ false, "annotate optimize code with source code positions") |
#ifdef ENABLE_DISASSEMBLER |
+DEFINE_bool(sodium, false, "print generated code output suitable for use with " |
+ "the Sodium code viewer") |
+ |
+DEFINE_implication(sodium, print_code_stubs) |
+DEFINE_implication(sodium, print_code) |
+DEFINE_implication(sodium, print_opt_code) |
+DEFINE_implication(sodium, emit_opt_code_positions) |
+DEFINE_implication(sodium, code_comments) |
+ |
DEFINE_bool(print_all_code, false, "enable all flags related to printing code") |
DEFINE_implication(print_all_code, print_code) |
DEFINE_implication(print_all_code, print_opt_code) |