cjit update

This commit is contained in:
2026-01-20 21:40:47 +01:00
parent fa42b20136
commit eb3c3814ec
8 changed files with 576 additions and 85 deletions

View File

@@ -0,0 +1,20 @@
const std = @import("std");
const Self = @This();
const types = @import("types.zig");
const x86_64 = @import("x86_64.zig");
const Register = x86_64.Register;
const Type = types.Type;
pub const Value = union(enum) {
register: Register,
constant: u64,
symbol: []const u8,
/// Displacement in bytes from current value of base pointer register.
stack: i32,
cpu_flags: void,
};
c_type: Type,
value: Value,