Commit d76f568
[vm,dynamic_modules] Fix object allocation/initialization in interpreter in compressed pointers mode
Fix initialization of a newly allocated Closure object when compressed
pointers are used.
Also, fix how instance size is calculated when allocating an object with
instance type arguments.
Fixes b/383719624.
TEST=tools/test.py -n vm-aot-dyn-linux-debug-x64c language corelib
Change-Id: I4bf848ac9b9c9c76d069d1861683cb6dc626ceb9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/400400
Commit-Queue: Slava Egorov <[email protected]>
Auto-Submit: Alexander Markov <[email protected]>
Reviewed-by: Slava Egorov <[email protected]>1 parent 2b5b316 commit d76f568
1 file changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1525 | 1525 | | |
1526 | 1526 | | |
1527 | 1527 | | |
1528 | | - | |
1529 | | - | |
1530 | | - | |
1531 | | - | |
1532 | | - | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
1533 | 1532 | | |
1534 | 1533 | | |
1535 | 1534 | | |
| |||
2472 | 2471 | | |
2473 | 2472 | | |
2474 | 2473 | | |
2475 | | - | |
2476 | | - | |
| 2474 | + | |
| 2475 | + | |
2477 | 2476 | | |
2478 | 2477 | | |
2479 | 2478 | | |
| |||
0 commit comments