f6af8ccba8
As number of bytecode generation options grows, it becomes cumbersome to add them and propagate from the place where they are parsed to the place where they are used. In order to make it easier to change and add new bytecode generation options, this CL introduces BytecodeOptions class which consolidates all options for bytecode generation. Also, command line options --emit-bytecode-*** are gathered into a single multi-option --bytecode-options=opt1,opt2,... Also, unused --use-future-bytecode-format option is cleaned up. If needed, it could be easily re-introduced in the new BytecodeOptions. Change-Id: I637bf28ceb4233ead2562afe7ad51c69a99f2d60 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106965 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>