Commit bbf9603
Add KnownLayout::validate_cast_and_convert_metadata
This method is a core primitive that other parts of the codebase can
build on to validate casts and compute the appropriate pointer metadata
which should result from those casts. Future commits will build on top
of this one to make use of it.
Co-authored-by: Jack Wrenn <[email protected]>1 parent 753b19f commit bbf9603
2 files changed
Lines changed: 424 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
0 commit comments