diff options
Diffstat (limited to 'src/jq/compile.zig')
| -rw-r--r-- | src/jq/compile.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jq/compile.zig b/src/jq/compile.zig index a28c10a..ddb4be5 100644 --- a/src/jq/compile.zig +++ b/src/jq/compile.zig @@ -19,7 +19,7 @@ pub const Instr = union(Opcode) { }; pub fn compile(allocator: std.mem.Allocator, compile_allocator: std.mem.Allocator, ast: *const Ast) ![]Instr { - var instrs = try std.array_list.Aligned(Instr, null).initCapacity(allocator, 16); + var instrs = try std.ArrayList(Instr).initCapacity(allocator, 16); switch (ast.*) { .identity => try instrs.append(allocator, .nop), |
