stage2 ARM: amend implementation of various AIR instructions

- unwrap_errunion_err for registers
- unwrap_errunion_payload for registers
- ptr_slice_len_ptr for all MCValues
- ptr_slice_ptr_ptr for all MCValues
This commit is contained in:
joachimschmidt557
2022-08-27 20:22:54 +02:00
parent e2b029e2c8
commit 261fec8036
15 changed files with 208 additions and 119 deletions

View File

@@ -1060,7 +1060,6 @@ comptime {
test "switch inside @as gets correct type" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
var a: u32 = 0;
var b: [2]u32 = undefined;