dart-sdk/sdk
Stephen Adams 54b324ca04 [dart2js] new-rti: Cache non-generic types on constructor
- Cache the Rti in a property on the constructor.

- Put the dodgy closure logic behind the cache to move the _isClosure
  test off the fast path.

- Allow different closure.runtimeType.toString() results. The old result is not
  worth preserving because it shows a 'type' that does not otherwise exist. The
  actual closure.toString() is still informative.

Change-Id: I7f30e5975ce289fa6b85a22c65f76e80055ef548
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/124021
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Mayank Patke <fishythefish@google.com>
2019-11-04 22:58:35 +00:00
..
bin [vm] Remove deprecated (and untested) ARMv5 support from the VM 2019-10-23 14:44:33 +00:00
lib [dart2js] new-rti: Cache non-generic types on constructor 2019-11-04 22:58:35 +00:00
api_readme.md Update API homepage to link to dart.dev, not dartlang.org 2019-05-21 02:51:59 +00:00
BUILD.gn [vm] Ensure create_sdk GN build has working dart2native iff AOT is supported 2019-11-04 12:01:56 +00:00