diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2022-10-23 08:12:10 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2022-10-25 05:11:29 -0400 |
| commit | 65a48df5324278c3d876e168b523894c8662e546 (patch) | |
| tree | c06ab8f0ddf444d82a8fa1524a6c9ac36cb5e1b0 /src/codegen/llvm.zig | |
| parent | 8b6a3ba74ea50602284543382ff1729a60b75122 (diff) | |
| download | zig-65a48df5324278c3d876e168b523894c8662e546.tar.gz zig-65a48df5324278c3d876e168b523894c8662e546.zip | |
cbe: fix globals that reference functions
Global constant initializers can reference functions, so forward declare
the constants and initialize them later with the function definitions,
which guarantees that they appear after all declarations.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
