Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index 08ebad82d8c69e235b421f89f51deaf25ada0ba5..d272612422ba68fdce4a97777fdca3c3d5a1a981 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -857,6 +857,8 @@ DEFINE_BOOL(log_snapshot_positions, false, |
DEFINE_BOOL(log_suspect, false, "Log suspect operations.") |
DEFINE_BOOL(prof, false, |
"Log statistical profiling information (implies --log-code).") |
+DEFINE_BOOL(prof_cpp, false, "Like --prof, but ignore generated code.") |
+DEFINE_IMPLICATION(prof, prof_cpp) |
DEFINE_BOOL(prof_browser_mode, true, |
"Used with --prof, turns on browser-compatible mode for profiling.") |
DEFINE_BOOL(log_regexp, false, "Log regular expression execution.") |