| author | |
| committer | |
| log | de9306096e17519dfb730457059ce08496e5f758 |
| tree | 2d08c047d875fcb07d3f736d6ea4aad1251e9c19 |
| parent | 8a5fb4c248272644b5db84a8e453b8d7051fafb0 |
1 files changed, 1 insertions(+), 2 deletions(-)
src/translate_c.zig+1-2| ... | ... | @@ -1361,11 +1361,10 @@ fn makeShuffleMask(c: *Context, scope: *Scope, expr: *const clang.ShuffleVectorE |
| 1361 | 1361 | init.* = converted_index; |
| 1362 | 1362 | } |
| 1363 | 1363 | |
| 1364 | const mask_init = try Tag.array_init.create(c.arena, .{ | |
| 1364 | return Tag.array_init.create(c.arena, .{ | |
| 1365 | 1365 | .cond = mask_type, |
| 1366 | 1366 | .cases = init_list, |
| 1367 | 1367 | }); |
| 1368 | return Tag.@"comptime".create(c.arena, mask_init); | |
| 1369 | 1368 | } |
| 1370 | 1369 | |
| 1371 | 1370 | /// @typeInfo(@TypeOf(vec_node)).Vector.<field> |