5e5313c8d6
This change adds a bytecode generation option 'keep-unreachable-code' to avoid eliminating unreachable code from constant conditions. This option is enabled in kernel service. If unreachable code is eliminated, then call instructions are not generated and ICData objects are not created. Source code report is collected using created ICData objects and will not flag the unreachable code as not executed. Change-Id: Ic73e19c653505e0dfab4648ab65ef6b90370e0b4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113960 Reviewed-by: Régis Crelier <regis@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com>