Index: src/flag-definitions.h |
diff --git a/src/flag-definitions.h b/src/flag-definitions.h |
index d6cb6e372490aa1dfb20a83efcb35cf57c001a5b..3dbbcbb53761714d464b9d6fd506a954f3c2f340 100644 |
--- a/src/flag-definitions.h |
+++ b/src/flag-definitions.h |
@@ -139,6 +139,11 @@ DEFINE_bool(use_osr, true, "use on-stack replacement") |
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, false, |
+ "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") |
// assembler-ia32.cc / assembler-arm.cc / assembler-x64.cc |
DEFINE_bool(debug_code, false, |