diff options
| author | Jimmi HC <jimmiholstchristensen@gmail.com> | 2019-01-06 17:53:34 +0100 |
|---|---|---|
| committer | Jimmi HC <jimmiholstchristensen@gmail.com> | 2019-01-06 17:53:34 +0100 |
| commit | 55e95daf543a27961fe9ca7a998d3cbd25d2973b (patch) | |
| tree | 04f8aabb79f53cabc5165e83858034221632a81e /src/zig_llvm.cpp | |
| parent | e410b1f915974fe3daeebae324e8c4e4b42090dd (diff) | |
| download | zig-55e95daf543a27961fe9ca7a998d3cbd25d2973b.tar.gz zig-55e95daf543a27961fe9ca7a998d3cbd25d2973b.zip | |
Fixed issue where TypeInfo would use types from a prev CodeGen instance
When doing multible codegen passes (such as building
compiler_rt and then something else) the TypeInfo cache code would point
to types from the prev code gen (such as the prev 'bool' type), giving
us errors like "expected type 'bool', but found type 'bool'"
This disabling of caching might have a performance hit, but correctness is better than
speed, so let's have this for now, until someone optimizes this
correctly (probably in stage2)
Diffstat (limited to 'src/zig_llvm.cpp')
0 files changed, 0 insertions, 0 deletions
