mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Revert "use general roc store instead of specific llvm store"
Not sure why but this is wrong for some pointer reasons?
This reverts commit b190b09b78
.
This commit is contained in:
parent
057e4ea57a
commit
7526f7069b
1 changed files with 1 additions and 1 deletions
|
@ -3956,7 +3956,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();
|
||||
|
||||
store_roc_value(env, return_layout, out_ptr, value);
|
||||
env.builder.build_store(out_ptr, value);
|
||||
env.builder.build_return(None);
|
||||
}
|
||||
CCReturn::Void => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue