| Index: runtime/vm/flag_list.h
|
| diff --git a/runtime/vm/flag_list.h b/runtime/vm/flag_list.h
|
| index 58311147c679aa0673c9af841066f9d9c97398ec..be174f0b7bcfe332c095b6f24c856a9fd179a86f 100644
|
| --- a/runtime/vm/flag_list.h
|
| +++ b/runtime/vm/flag_list.h
|
| @@ -25,6 +25,12 @@
|
| #define USING_MULTICORE false
|
| #endif
|
|
|
| +#if defined(DART_PRECOMPILER)
|
| +#define USING_PRECOMPILER true
|
| +#else
|
| +#define USING_PRECOMPILER false
|
| +#endif
|
| +
|
| // List of all flags in the VM.
|
| // Flags can be one of three categories:
|
| // * P roduct flags: Can be set in any of the deployment modes, including in
|
| @@ -162,7 +168,7 @@
|
| "Use class hierarchy analysis even if it can cause deoptimization.") \
|
| P(use_field_guards, bool, !USING_DBC, \
|
| "Use field guards and track field types") \
|
| - C(use_osr, false, true, bool, true, "Use OSR") \
|
| + C(use_osr, false, !USING_PRECOMPILER, bool, !USING_PRECOMPILER, "Use OSR") \
|
| P(verbose_gc, bool, false, "Enables verbose GC.") \
|
| P(verbose_gc_hdr, int, 40, "Print verbose GC header interval.") \
|
| R(verify_after_gc, false, bool, false, \
|
|
|