Andrew Kelley 069c83d58c stage2: change @bitCast to always be by-value
After a discussion about language specs, this seems like the best way to
go, because it's simpler to reason about both for humans and compilers.

The `bitcast_result_ptr` ZIR instruction is no longer needed.

This commit also implements writing enums, arrays, and vectors to
virtual memory at compile-time.

This unlocked some more of compiler-rt being able to build, which
in turn unlocks saturating arithmetic behavior tests.

There was also a memory leak in the comptime closure system which is now
fixed.
2021-10-22 15:35:35 -07:00
..
2021-10-22 10:48:45 -07:00
2021-10-17 14:22:47 -04:00
2021-09-19 14:02:22 +02:00
2021-10-17 16:06:40 -04:00
2021-10-05 12:32:26 -07:00
2021-09-22 14:14:03 -05:00
2021-09-07 15:08:51 -04:00