add llvmvalueref to Parameter
This commit is contained in:
parent
178acc656f
commit
58713b20e3
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue