Commit 7bea7d1
[dart2wasm] Add indirection for struct initialization.
For dynamic modules we will "adjust" the class ID at runtime to ensure each module gets independent class ID spaces.
This initial change simply provides the point where we will eventually add that logic.
Change-Id: Iad9c38d9e3e842be2e77c48b1755ebe57d02d023
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/400923
Reviewed-by: Martin Kustermann <[email protected]>
Commit-Queue: Nate Biggs <[email protected]>1 parent 8c1fa6d commit 7bea7d1
File tree
5 files changed
+24
-30
lines changed- pkg/dart2wasm/lib
5 files changed
+24
-30
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
722 | 723 | | |
723 | 724 | | |
724 | 725 | | |
725 | | - | |
726 | | - | |
| 726 | + | |
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2335 | 2335 | | |
2336 | 2336 | | |
2337 | 2337 | | |
2338 | | - | |
2339 | | - | |
| 2338 | + | |
2340 | 2339 | | |
2341 | 2340 | | |
2342 | 2341 | | |
| |||
2941 | 2940 | | |
2942 | 2941 | | |
2943 | 2942 | | |
2944 | | - | |
2945 | | - | |
| 2943 | + | |
2946 | 2944 | | |
2947 | 2945 | | |
2948 | 2946 | | |
| |||
3256 | 3254 | | |
3257 | 3255 | | |
3258 | 3256 | | |
3259 | | - | |
3260 | | - | |
| 3257 | + | |
3261 | 3258 | | |
3262 | 3259 | | |
3263 | 3260 | | |
| |||
3731 | 3728 | | |
3732 | 3729 | | |
3733 | 3730 | | |
3734 | | - | |
3735 | | - | |
| 3731 | + | |
3736 | 3732 | | |
3737 | 3733 | | |
3738 | 3734 | | |
| |||
4595 | 4591 | | |
4596 | 4592 | | |
4597 | 4593 | | |
| 4594 | + | |
| 4595 | + | |
| 4596 | + | |
| 4597 | + | |
| 4598 | + | |
| 4599 | + | |
| 4600 | + | |
4598 | 4601 | | |
4599 | 4602 | | |
4600 | 4603 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
532 | 533 | | |
533 | 534 | | |
534 | 535 | | |
535 | | - | |
536 | | - | |
| 536 | + | |
537 | 537 | | |
538 | 538 | | |
539 | 539 | | |
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
554 | | - | |
555 | | - | |
| 554 | + | |
556 | 555 | | |
557 | 556 | | |
558 | 557 | | |
| |||
631 | 630 | | |
632 | 631 | | |
633 | 632 | | |
634 | | - | |
635 | | - | |
| 633 | + | |
636 | 634 | | |
637 | 635 | | |
638 | 636 | | |
| |||
740 | 738 | | |
741 | 739 | | |
742 | 740 | | |
743 | | - | |
744 | | - | |
| 741 | + | |
745 | 742 | | |
746 | 743 | | |
747 | 744 | | |
| |||
865 | 862 | | |
866 | 863 | | |
867 | 864 | | |
868 | | - | |
869 | | - | |
| 865 | + | |
870 | 866 | | |
871 | 867 | | |
872 | 868 | | |
| |||
1026 | 1022 | | |
1027 | 1023 | | |
1028 | 1024 | | |
1029 | | - | |
1030 | | - | |
| 1025 | + | |
1031 | 1026 | | |
1032 | 1027 | | |
1033 | 1028 | | |
| |||
1059 | 1054 | | |
1060 | 1055 | | |
1061 | 1056 | | |
1062 | | - | |
1063 | | - | |
| 1057 | + | |
1064 | 1058 | | |
1065 | 1059 | | |
1066 | 1060 | | |
| |||
1082 | 1076 | | |
1083 | 1077 | | |
1084 | 1078 | | |
1085 | | - | |
1086 | | - | |
| 1079 | + | |
1087 | 1080 | | |
1088 | 1081 | | |
1089 | 1082 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
| 349 | + | |
351 | 350 | | |
352 | 351 | | |
353 | 352 | | |
| |||
0 commit comments