behavior: additional llvm fixes
This commit is contained in:
committed by
Andrew Kelley
parent
3b6ca1d35b
commit
3064d2aa7b
@@ -312,7 +312,7 @@ pub fn generateSymbol(
|
||||
}
|
||||
},
|
||||
.enum_tag => |enum_tag| {
|
||||
const int_tag_ty = try typed_value.ty.intTagType(mod);
|
||||
const int_tag_ty = typed_value.ty.intTagType(mod);
|
||||
switch (try generateSymbol(bin_file, src_loc, .{
|
||||
.ty = int_tag_ty,
|
||||
.val = try mod.getCoerced(enum_tag.int.toValue(), int_tag_ty),
|
||||
|
||||
Reference in New Issue
Block a user