Index: src/flag-definitions.h |
=================================================================== |
--- src/flag-definitions.h (revision 11812) |
+++ src/flag-definitions.h (working copy) |
@@ -206,6 +206,11 @@ |
DEFINE_bool(trace_osr, false, "trace on-stack replacement") |
DEFINE_int(stress_runs, 0, "number of stress runs") |
DEFINE_bool(optimize_closures, true, "optimize closures") |
+DEFINE_bool(lookup_sample_by_shared, true, |
+ "when picking a function to optimize, watch for shared function " |
+ "info, not JSFunction itself") |
+DEFINE_bool(cache_optimized_code, true, |
+ "cache optimized code for closures") |
DEFINE_bool(inline_construct, true, "inline constructor calls") |
DEFINE_bool(inline_arguments, true, "inline functions with arguments object") |
DEFINE_int(loop_weight, 1, "loop weight for representation inference") |