diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-08-24 23:09:12 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-08-25 22:44:18 -0700 |
| commit | e97157f71c79257ab575598d142f3caa785a2a76 (patch) | |
| tree | 0484774fa99b759668a134a06d1bc76216e0b811 /lib/libc/include | |
| parent | b68fa9970b5cf5bb5954da476cc8679512ce489b (diff) | |
| download | zig-e97157f71c79257ab575598d142f3caa785a2a76.tar.gz zig-e97157f71c79257ab575598d142f3caa785a2a76.zip | |
stage2: codegen for conditional branching
* Move branch-local register and stack allocation metadata to the
function-local struct. Conditional branches clone this data in order
to restore it after generating machine code for a branch.
Branch-local data is now only the instruction table mapping *ir.Inst
to MCValue.
* Implement conditional branching
- Process operand deaths
- Handle register and stack allocation metadata
* Avoid storing unreferenced or void typed instructions into
the branch-local instruction table.
* Fix integer types reporting the wrong value for hasCodeGenBits.
* Remove the codegen optimization for eliding length-0 jumps. I need to
reexamine how this works because it was causing invalid jumps to be
emitted.
Diffstat (limited to 'lib/libc/include')
0 files changed, 0 insertions, 0 deletions
