mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-25 21:37:48 +00:00
cleanup misc minor issues
This commit is contained in:
parent
48eb9c31a9
commit
9e70308952
3 changed files with 4 additions and 5 deletions
|
|
@ -1101,6 +1101,7 @@ fn link_macos(
|
|||
"-w",
|
||||
"-macos_version_min",
|
||||
&get_macos_version(),
|
||||
"-ld_classic",
|
||||
])
|
||||
.args(input_paths)
|
||||
.args(extra_link_flags());
|
||||
|
|
|
|||
|
|
@ -1082,6 +1082,8 @@ impl<
|
|||
arg_layouts: &[InLayout<'a>],
|
||||
ret_layout: &InLayout<'a>,
|
||||
) {
|
||||
debug_assert_eq!(args.len(), arg_layouts.len());
|
||||
|
||||
// Save used caller saved regs.
|
||||
self.storage_manager
|
||||
.push_used_caller_saved_regs_to_stack(&mut self.buf);
|
||||
|
|
@ -5335,7 +5337,7 @@ impl<
|
|||
&dst,
|
||||
bitcode::UTILS_ALLOCATE_WITH_REFCOUNT.to_string(),
|
||||
&[data_bytes, element_alignment, element_refcounted],
|
||||
&[Layout::U64, Layout::U32],
|
||||
&[Layout::U64, Layout::U32, Layout::BOOL],
|
||||
&Layout::U64,
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -53,10 +53,6 @@ impl HelperOp {
|
|||
fn is_dec(&self) -> bool {
|
||||
matches!(self, Self::Dec)
|
||||
}
|
||||
|
||||
fn is_inc(&self) -> bool {
|
||||
matches!(self, Self::Inc | Self::IncN)
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue