mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
sate clippy
This commit is contained in:
parent
931b373d80
commit
91ad1f1bc0
3 changed files with 8 additions and 8 deletions
|
@ -489,8 +489,8 @@ impl<
|
|||
ret_layout: &Layout<'a>,
|
||||
) {
|
||||
if let Some(SelfRecursive::SelfRecursive(id)) = self.is_self_recursive {
|
||||
if &fn_name == self.proc_name.as_ref().unwrap() && self.join_map.contains_key(&id) {
|
||||
return self.build_jump(&id, args, arg_layouts, ret_layout);
|
||||
if &fn_name == self.proc_name.as_ref().unwrap() && self.join_map.contains_key(id) {
|
||||
return self.build_jump(id, args, arg_layouts, ret_layout);
|
||||
}
|
||||
}
|
||||
// Save used caller saved regs.
|
||||
|
@ -629,7 +629,7 @@ impl<
|
|||
let mut sub_backend = Self::new(self.env);
|
||||
sub_backend.reset(
|
||||
self.proc_name.as_ref().unwrap().clone(),
|
||||
self.is_self_recursive.as_ref().unwrap().clone(),
|
||||
<&roc_mono::ir::SelfRecursive>::clone(self.is_self_recursive.as_ref().unwrap()),
|
||||
);
|
||||
// Sync static maps of important information.
|
||||
sub_backend.last_seen_map = self.last_seen_map.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue