mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
use general roc store instead of specific llvm store
This commit is contained in:
parent
837ce38066
commit
b190b09b78
1 changed files with 1 additions and 1 deletions
|
@ -3955,7 +3955,7 @@ fn expose_function_to_host_help_c_abi_v2<'a, 'ctx, 'env>(
|
|||
CCReturn::ByPointer => {
|
||||
let out_ptr = c_function.get_nth_param(0).unwrap().into_pointer_value();
|
||||
|
||||
env.builder.build_store(out_ptr, value);
|
||||
store_roc_value(env, return_layout, out_ptr, value);
|
||||
env.builder.build_return(None);
|
||||
}
|
||||
CCReturn::Void => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue