aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-05-12 22:02:44 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-05-12 22:02:44 -0700
commit344dc0cc0ffcd32ffb07c43ca7123b8564f2a506 (patch)
treebbe151e35981f21e26030494422e1958a43afac7 /src/zig_llvm.cpp
parent417b5b1daae800ef423f65154c40a513a73485e8 (diff)
downloadzig-344dc0cc0ffcd32ffb07c43ca7123b8564f2a506.tar.gz
zig-344dc0cc0ffcd32ffb07c43ca7123b8564f2a506.zip
stage2: fix handling of "prev successful ZIR"
Before this change, the attempt to save the most recent successful ZIR code only worked in some cases; this reworks the code to be more robust, thereby fixing a crash when running the stage2 "enums" CBE test cases.
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions