ae462475f9
Use abstract type of constant for BoolConstantTypeInformation as the AbstractValueDomain may have something more precise than 'bool' for a true/false constant. Evaluate short-circuit `&&` and `||` for constant inputs. This can occur with named and -Dxxx= defined constants. TODO: we should consider adding a node like a guarded-phi to select an input, with possible boolean conversions on inputs. Change-Id: I7f54503db87f6a6d2034ca59c16b4f1ff69ebbb6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/159323 Reviewed-by: Christian Altamirano <coam@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Commit-Queue: Stephen Adams <sra@google.com>