49a4b1b930
This commit also fixes a bug where pure functions are marked with the read-only attribute in debug mode. This resulted in incorrect codegen because calls to read-only functions with unused values were not generated. For example, a call to assert() would not be generated if assert is marked with read-only. Which it *is* marked with in release mode. |
||
---|---|---|
.. | ||
a.zig | ||
b.zig | ||
other.zig | ||
run_tests.cpp | ||
self_hosted.zig |