Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index cf63f338028126ddcf2af6e921a67005ce3c5758..fedcaa5978429c2dae7ba610a5002d6281a3fdb0 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -627,6 +627,10 @@ DEFINE_BOOL(serialize_toplevel, true, "enable caching of toplevel scripts") |
DEFINE_BOOL(serialize_eager, false, "compile eagerly when caching scripts") |
DEFINE_BOOL(serialize_age_code, false, "pre age code in the code cache") |
DEFINE_BOOL(trace_serializer, false, "print code serializer trace") |
+#ifdef DEBUG |
+DEFINE_BOOL(external_reference_stats, false, |
+ "print statistics on external references used during serialization") |
+#endif // DEBUG |
// compiler.cc |
DEFINE_INT(min_preparse_length, 1024, |