mirror of
https://github.com/dart-lang/sdk
synced 2024-07-25 04:15:45 +00:00
[dart2js][ddc] Make rti universe field names const
These names are expected to always be the same, making them const allows DDC to recognize that more easily. Change-Id: I80a991e1cf50b2990fd27afb4ff3793a6135cf65 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/328803 Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mayank Patke <fishythefish@google.com>
This commit is contained in:
parent
d0efd60595
commit
904972569d
|
@ -114,9 +114,9 @@ enum JsBuiltin {
|
|||
|
||||
/// Names of fields of the Rti Universe object.
|
||||
class RtiUniverseFieldNames {
|
||||
static String evalCache = 'eC';
|
||||
static String typeRules = 'tR';
|
||||
static String erasedTypes = 'eT';
|
||||
static String typeParameterVariances = 'tPV';
|
||||
static String sharedEmptyArray = 'sEA';
|
||||
static const String evalCache = 'eC';
|
||||
static const String typeRules = 'tR';
|
||||
static const String erasedTypes = 'eT';
|
||||
static const String typeParameterVariances = 'tPV';
|
||||
static const String sharedEmptyArray = 'sEA';
|
||||
}
|
||||
|
|
|
@ -114,9 +114,9 @@ enum JsBuiltin {
|
|||
|
||||
/// Names of fields of the Rti Universe object.
|
||||
class RtiUniverseFieldNames {
|
||||
static String evalCache = 'eC';
|
||||
static String typeRules = 'tR';
|
||||
static String erasedTypes = 'eT';
|
||||
static String typeParameterVariances = 'tPV';
|
||||
static String sharedEmptyArray = 'sEA';
|
||||
static const String evalCache = 'eC';
|
||||
static const String typeRules = 'tR';
|
||||
static const String erasedTypes = 'eT';
|
||||
static const String typeParameterVariances = 'tPV';
|
||||
static const String sharedEmptyArray = 'sEA';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue