mirror of
https://github.com/ziglang/zig.git
synced 2025-12-31 10:33:19 +00:00
translate-c: remove explicit comptime from shuffle mask expression
This commit is contained in:
parent
8a5fb4c248
commit
de9306096e
@ -1361,11 +1361,10 @@ fn makeShuffleMask(c: *Context, scope: *Scope, expr: *const clang.ShuffleVectorE
|
||||
init.* = converted_index;
|
||||
}
|
||||
|
||||
const mask_init = try Tag.array_init.create(c.arena, .{
|
||||
return Tag.array_init.create(c.arena, .{
|
||||
.cond = mask_type,
|
||||
.cases = init_list,
|
||||
});
|
||||
return Tag.@"comptime".create(c.arena, mask_init);
|
||||
}
|
||||
|
||||
/// @typeInfo(@TypeOf(vec_node)).Vector.<field>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user