dfdd974390
Front-end constant evaluator doesn't fully evaluate constants if CompilerOptions.environmentDefines is not set. Unevaluated constants are not handled in bytecode generator or AOT tranformations. As we're moving towards constant evaluation in the front-end, all VM-specific kernel compilers such as gen_kernel and front-end server should set CompilerOptions.environmentDefines. Change-Id: I0c3021f87e4afdcb289822c57c2a19195b0dc467 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98435 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Alexander Aprelev <aam@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>