-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[vm] Avoid field guard on Compound._typedDataBase
`KernelLoader::FinishClassLoading` was leaving guarded state of this field in an inconsistent state: it was setting guarded cid to `kDynamicCid`, but not setting guarded length to `kNoFixedLength`. As a result in JIT mode we would generate stale length guards for these fields and these guards would inhibit allocation sinking. This CL fixes this. Issue #56705 TEST=vm/cc/Ffi_StructSinking [email protected] Change-Id: I2eae6447555a7c1dfa25591e51815936aa3dbaf3 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384842 Commit-Queue: Slava Egorov <[email protected]> Reviewed-by: Daco Harkes <[email protected]>
- Loading branch information
Showing
3 changed files
with
64 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters