fix: PartialFunc
This commit is contained in:
@@ -103,7 +103,12 @@ impl<'ctx> Helpers<'ctx> {
|
||||
let call = module.add_function(
|
||||
"call",
|
||||
value_type.fn_type(
|
||||
&[value_type.into(), ptr_type.into(), ptr_type.into(), ptr_type.into()],
|
||||
&[
|
||||
value_type.into(),
|
||||
ptr_type.into(),
|
||||
ptr_type.into(),
|
||||
ptr_type.into(),
|
||||
],
|
||||
false,
|
||||
),
|
||||
None,
|
||||
@@ -339,7 +344,12 @@ extern "C" fn helper_or(lhs: JITValue, rhs: JITValue) -> JITValue {
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" fn helper_call(func: JITValue, args: Box<[JITValue]>, engine: NonNull<Engine>, env: NonNull<Env>) -> JITValue {
|
||||
extern "C" fn helper_call(
|
||||
func: JITValue,
|
||||
args: Box<[JITValue]>,
|
||||
engine: NonNull<Engine>,
|
||||
env: NonNull<Env>,
|
||||
) -> JITValue {
|
||||
let func = Value::from(func);
|
||||
todo!()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user