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:
Brendan Hansknecht 2022-07-18 22:35:52 -07:00
parent 057e4ea57a
commit 7526f7069b
No known key found for this signature in database
GPG key ID: A2E3B0B6E483038E

View file

@ -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 => {