Nate Biggs
41b1ba7705
[dart2js] Migrate test/annotations for null safety migration.
...
Change-Id: I1739d7ba9b7cad1ffb179c9fa6cc46f21afd8821
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279243
Reviewed-by: Mayank Patke <fishythefish@google.com >
2023-01-23 06:02:51 +00:00
Stephen Adams
f503281917
[dart2js] Document some dart2js @pragma annotations
...
Also add `never-inline` and `prefer-inline` aliases.
Change-Id: If5d932e3b86b78b2177abac79ac6c49fb9b8ed6f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/252500
Commit-Queue: Stephen Adams <sra@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2022-07-22 19:45:07 +00:00
Stephen Adams
3099911746
[dart2js] Add @pragma('dart2js:disable-inlining') annotation
...
This annotation prevents inlining at call sites within the method that
is annotated.
The main expected use is to control inlining in unit tests.
Change-Id: Ib6652f0b4cb7a34c6bf829b1be5c09e241ffbde2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/248345
Commit-Queue: Stephen Adams <sra@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2022-06-14 18:08:23 +00:00
Joshua Litt
20faaa5d94
[dart2js] Move dart2js unit tests to pkg/compiler/test.
...
Change-Id: Ib18f554c1076f27a3f7c0df5a36410da41a1f467
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/148784
Reviewed-by: Paul Berry <paulberry@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2020-05-28 18:51:11 +00:00