build options #compiler
This commit is contained in:
@@ -1454,6 +1454,10 @@ pub const LLVMEmitter = struct {
|
||||
},
|
||||
}
|
||||
},
|
||||
.compiler_call => {
|
||||
// Compiler hooks are comptime-only; if one reaches emission, produce undef
|
||||
self.mapRef(c.LLVMGetUndef(self.toLLVMType(instruction.ty)));
|
||||
},
|
||||
.call_closure => |call_op| {
|
||||
// Closure: { fn_ptr, env } — extract fn_ptr, prepend env as first arg
|
||||
const closure = self.resolveRef(call_op.callee);
|
||||
|
||||
Reference in New Issue
Block a user