[dart2wasm] Remove unused annotations and field

Change-Id: I83a9bd6a8aedb5312381b975c49e287ee76bc11b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/501141
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
This commit is contained in:
Martin Kustermann
2026-05-07 03:46:02 -07:00
committed by dart-scoped@luci-project-accounts.iam.gserviceaccount.com
parent 4d964c4804
commit a3deacfd58
4 changed files with 0 additions and 7 deletions
-3
View File
@@ -129,9 +129,6 @@ class SyncStarStateMachineCodeGenerator extends StateMachineCodeGenerator {
late final ClassInfo suspendStateInfo =
translator.classInfo[translator.suspendStateClass]!;
late final ClassInfo syncStarIterableInfo =
translator.classInfo[translator.syncStarIterableClass]!;
late final ClassInfo syncStarIteratorInfo =
translator.classInfo[translator.syncStarIteratorClass]!;
@@ -239,7 +239,6 @@ final class JSStringImpl extends js.JSExternWrapper
}
@override
@pragma('dyn-module:callable')
@pragma('wasm:pure-function')
String operator +(String other) {
return JSStringImpl.fromRefUnchecked(
@@ -12,7 +12,6 @@ abstract class Record {
_RecordType get _masqueradedRecordRuntimeType;
_RecordType get _recordRuntimeType;
@pragma('dyn-module:can-be-overridden')
bool _checkRecordType(
WasmArray<_Type> types,
ImmutableWasmArray<String> names,
-2
View File
@@ -581,7 +581,6 @@ class _RecordType extends _Type {
_Type get _asNullable => _RecordType(names, fieldTypes, true);
@override
@pragma('dyn-module:callable')
@pragma("wasm:static-dispatch")
bool _checkInstance(Object o) {
if (!_isRecordClassId(ClassID.getID(o))) return false;
@@ -1953,7 +1952,6 @@ _Type _getActualRuntimeType(Object object) {
}
@pragma("wasm:prefer-inline")
@pragma('dyn-module:callable')
_Type _getActualRuntimeTypeNullable(Object? object) =>
object == null ? _literal<Null>() : _getActualRuntimeType(object);