8a60ce9e6d
- 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>
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.