aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2022-10-23 08:12:10 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2022-10-25 05:11:29 -0400
commit65a48df5324278c3d876e168b523894c8662e546 (patch)
treec06ab8f0ddf444d82a8fa1524a6c9ac36cb5e1b0 /src/codegen/llvm
parent8b6a3ba74ea50602284543382ff1729a60b75122 (diff)
downloadzig-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')
0 files changed, 0 insertions, 0 deletions