diff --git a/src/comp_ctx.zig b/src/comp_ctx.zig index b22768c..d188645 100644 --- a/src/comp_ctx.zig +++ b/src/comp_ctx.zig @@ -1,5 +1,6 @@ const std = @import("std"); const ast = @import("ast.zig"); +const llvm = @import("llvm.zig"); pub const CompilationError = error{ TypeError, @@ -79,6 +80,7 @@ pub const Scope = struct { pub const Parameter = struct { idx: usize, typ: SymbolUnderlyingType, + alloca: ?llvm.LLVMValueRef = null, }; pub const ParameterMap = std.StringHashMap(Parameter);