dart-sdk/pkg/js_runtime
Stephen Adams 8a60ce9e6d [dart2js] Pass tear-off parameters in an object
- Pass tear-off parameters in an object rather than a large number
  of variables.

- Reduce number of fields for BoundClosure. This speeds up tear-off
  creation 7-20%

-

Change-Id: Idf5313d5709a098cd5c877871417304f4e4c5b56
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/203445
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-06-15 22:19:13 +00:00
..
lib/shared [dart2js] Pass tear-off parameters in an object 2021-06-15 22:19:13 +00:00
test
pubspec.yaml
README.md

Package js_runtime:

This package contains code that is shared between the dart2js compiler and the dart2js runtime libraries.

Important: all code under the lib/shared/ must be kept in sync with the runtime at all times (in sdk/lib/_internal/js_runtime/lib/shared). The test/in_sync_test.dart test verifies this.