diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-03-23 16:12:26 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-03-23 16:12:26 -0700 |
| commit | be673e67937bbc3e2c74591f8f447f848b2a566a (patch) | |
| tree | a6784230d35bbb35ea0374984d475228313ac265 /src/value.zig | |
| parent | aa46a705ad998636443e744b63471bf0864e90c9 (diff) | |
| download | zig-be673e67937bbc3e2c74591f8f447f848b2a566a.tar.gz zig-be673e67937bbc3e2c74591f8f447f848b2a566a.zip | |
stage2: implement inttype ZIR
also add i128 and u128 to const inst list
Diffstat (limited to 'src/value.zig')
| -rw-r--r-- | src/value.zig | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/value.zig b/src/value.zig index 5d5ba0934a..7e98d14a34 100644 --- a/src/value.zig +++ b/src/value.zig @@ -30,6 +30,8 @@ pub const Value = extern union { i32_type, u64_type, i64_type, + u128_type, + i128_type, usize_type, isize_type, c_short_type, @@ -120,6 +122,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -274,6 +278,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -427,6 +433,8 @@ pub const Value = extern union { .i32_type => return out_stream.writeAll("i32"), .u64_type => return out_stream.writeAll("u64"), .i64_type => return out_stream.writeAll("i64"), + .u128_type => return out_stream.writeAll("u128"), + .i128_type => return out_stream.writeAll("i128"), .isize_type => return out_stream.writeAll("isize"), .usize_type => return out_stream.writeAll("usize"), .c_short_type => return out_stream.writeAll("c_short"), @@ -554,6 +562,8 @@ pub const Value = extern union { .i32_type => Type.initTag(.i32), .u64_type => Type.initTag(.u64), .i64_type => Type.initTag(.i64), + .u128_type => Type.initTag(.u128), + .i128_type => Type.initTag(.i128), .usize_type => Type.initTag(.usize), .isize_type => Type.initTag(.isize), .c_short_type => Type.initTag(.c_short), @@ -650,6 +660,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -736,6 +748,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -822,6 +836,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -935,6 +951,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -1026,6 +1044,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -1182,6 +1202,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -1265,6 +1287,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -1416,6 +1440,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -1573,6 +1599,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -1659,6 +1687,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -1762,6 +1792,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -1843,6 +1875,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, @@ -1944,6 +1978,8 @@ pub const Value = extern union { .i32_type, .u64_type, .i64_type, + .u128_type, + .i128_type, .usize_type, .isize_type, .c_short_type, |
