Legalize: implement scalarization of binary operations
This commit is contained in:
@@ -3081,10 +3081,11 @@ pub const Object = struct {
|
||||
.undefined_type,
|
||||
.enum_literal_type,
|
||||
=> unreachable,
|
||||
.ptr_usize_type,
|
||||
.ptr_const_comptime_int_type,
|
||||
.manyptr_u8_type,
|
||||
.manyptr_const_u8_type,
|
||||
.manyptr_const_u8_sentinel_0_type,
|
||||
.single_const_pointer_to_comptime_int_type,
|
||||
=> .ptr,
|
||||
.slice_const_u8_type,
|
||||
.slice_const_u8_sentinel_0_type,
|
||||
@@ -3098,11 +3099,16 @@ pub const Object = struct {
|
||||
=> unreachable,
|
||||
// values, not types
|
||||
.undef,
|
||||
.undef_bool,
|
||||
.undef_usize,
|
||||
.undef_u1,
|
||||
.zero,
|
||||
.zero_usize,
|
||||
.zero_u1,
|
||||
.zero_u8,
|
||||
.one,
|
||||
.one_usize,
|
||||
.one_u1,
|
||||
.one_u8,
|
||||
.four_u8,
|
||||
.negative_one,
|
||||
|
||||
Reference in New Issue
Block a user