mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Merge remote-tracking branch 'origin/trunk' into list-str-capacity
This commit is contained in:
commit
f9f3a255a9
3 changed files with 4 additions and 5 deletions
|
@ -1476,7 +1476,7 @@ fn build_tag_field_value<'a, 'ctx, 'env>(
|
|||
"cast_recursive_pointer",
|
||||
)
|
||||
} else if tag_field_layout.is_passed_by_reference(env.target_info) {
|
||||
debug_assert!(value.is_pointer_value(), "{:#?}", value);
|
||||
debug_assert!(value.is_pointer_value());
|
||||
|
||||
// NOTE: we rely on this being passed to `store_roc_value` so that
|
||||
// the value is memcpy'd
|
||||
|
|
|
@ -21,7 +21,6 @@ use roc_target::TargetInfo;
|
|||
|
||||
use super::bitcode::call_list_bitcode_fn;
|
||||
use super::build::store_roc_value;
|
||||
use super::build_list::list_to_c_abi;
|
||||
|
||||
#[repr(transparent)]
|
||||
struct Alignment(u8);
|
||||
|
@ -715,7 +714,7 @@ pub fn set_from_list<'a, 'ctx, 'env>(
|
|||
call_void_bitcode_fn(
|
||||
env,
|
||||
&[
|
||||
list_to_c_abi(env, list).into(),
|
||||
list,
|
||||
alignment_iv.into(),
|
||||
key_width.into(),
|
||||
value_width.into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue