diff options
| author | Cody Tapscott <topolarity@tapscott.me> | 2022-03-11 14:23:29 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-03-14 21:42:43 -0700 |
| commit | 1f76b4c6b84c1fd7d370bde75b8e37822bd85086 (patch) | |
| tree | 09d06339aba8246977d7c9cc3e79b60c14e2f9c2 /src/type.zig | |
| parent | 5fa057053ce32274b878077e5abff82335530fc8 (diff) | |
| download | zig-1f76b4c6b84c1fd7d370bde75b8e37822bd85086.tar.gz zig-1f76b4c6b84c1fd7d370bde75b8e37822bd85086.zip | |
stage2 llvm: Respect container type when lowering parent pointers
We need to make sure that we bitcast our pointers correctly before
we use get_element_ptr to compute the offset for the parent
pointer.
This also includes a small fix-up for a problem where ptrs to const
i64/u64 were not using the correct type in >1-level decl chains
(where we call lowerParentPtr recursively)
Diffstat (limited to 'src/type.zig')
0 files changed, 0 insertions, 0 deletions
