aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2021-12-17 18:50:38 +0100
committerRobin Voetter <robin@voetter.nl>2021-12-21 01:41:50 +0100
commitd5621504b0e2160fa44991fc4180165584d72819 (patch)
tree0982bfb7e952a6a9b87c063a5431002c6d8345e1 /src/codegen
parente18c3f3109cffa76e4369c810f82d36eb02c56af (diff)
downloadzig-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')
0 files changed, 0 insertions, 0 deletions