aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2021-12-17 18:44:39 +0100
committerRobin Voetter <robin@voetter.nl>2021-12-21 01:41:50 +0100
commite18c3f3109cffa76e4369c810f82d36eb02c56af (patch)
tree299eed669838fa6a254bb36765afe23baa855168 /src/codegen/llvm.zig
parent993197cd868f312d19ab694dd3a5250e39077f67 (diff)
downloadzig-e18c3f3109cffa76e4369c810f82d36eb02c56af.tar.gz
zig-e18c3f3109cffa76e4369c810f82d36eb02c56af.zip
stage2: wrap function prototypes in an inline block.
Previously, function parameter instructions for function prototypes would be generated in the parent block. This caused issues in blocks where multiple prototypes would be generated in, such as the block for struct fields for example. This change introduces an inline block around every prototype such that all parameters for a prototype are confined to a unique block.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions