diff options
| author | Robin Voetter <robin@voetter.nl> | 2021-12-17 18:50:38 +0100 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2021-12-21 01:41:50 +0100 |
| commit | d5621504b0e2160fa44991fc4180165584d72819 (patch) | |
| tree | 0982bfb7e952a6a9b87c063a5431002c6d8345e1 /src/codegen/llvm.zig | |
| parent | e18c3f3109cffa76e4369c810f82d36eb02c56af (diff) | |
| download | zig-d5621504b0e2160fa44991fc4180165584d72819.tar.gz zig-d5621504b0e2160fa44991fc4180165584d72819.zip | |
stage2: save and restore parameters when resolving inline bodies
This caused zirParam instructions of parent blocks to be present in
inline analyzed blocks, and so function prototypes declared in the
inline blocks would also gain and add to the parameters in the
parent block.
Only block and block_inline are affected in this commit, as prototypes
and declarations are always generated in block_inline. This might need
to be resolved in a more general way at some point.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
