diff options
| author | Robin Voetter <robin@voetter.nl> | 2021-12-17 18:44:39 +0100 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2021-12-21 01:41:50 +0100 |
| commit | e18c3f3109cffa76e4369c810f82d36eb02c56af (patch) | |
| tree | 299eed669838fa6a254bb36765afe23baa855168 /src/codegen/llvm.zig | |
| parent | 993197cd868f312d19ab694dd3a5250e39077f67 (diff) | |
| download | zig-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
