aboutsummaryrefslogtreecommitdiff
path: root/src/codegen.cpp
diff options
context:
space:
mode:
authorShawn Landden <shawn@git.icu>2019-04-09 15:00:53 -0500
committerAndrew Kelley <andrew@ziglang.org>2019-05-29 20:21:07 -0400
commit4188faeac56d9c022fa33449aa4283b1f55395cf (patch)
tree08c4597b591291362921fa705ce114175de65f05 /src/codegen.cpp
parent4e1f3a9ba35530f129e43e11ac0676c562e4cb98 (diff)
downloadzig-4188faeac56d9c022fa33449aa4283b1f55395cf.tar.gz
zig-4188faeac56d9c022fa33449aa4283b1f55395cf.zip
stage1: AstNodes cannot be casted, but are rather accessed via a union.
Unlike IrInstruction[Foo]s, which all start with: IrInstruction base; AstNodes do not work like this, and instead use a pointer to their specializations. The code assumed otherwise.
Diffstat (limited to 'src/codegen.cpp')
0 files changed, 0 insertions, 0 deletions