mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Remove needless hole translation
This commit is contained in:
parent
52c858dc53
commit
5cfbc49ebf
1 changed files with 1 additions and 7 deletions
|
@ -4116,13 +4116,7 @@ fn specialize_naked_symbol<'a>(
|
||||||
std::vec::Vec::new(),
|
std::vec::Vec::new(),
|
||||||
layout_cache,
|
layout_cache,
|
||||||
assigned,
|
assigned,
|
||||||
match hole {
|
hole,
|
||||||
Stmt::Jump(id, _) => env
|
|
||||||
.arena
|
|
||||||
.alloc(Stmt::Jump(*id, env.arena.alloc([assigned]))),
|
|
||||||
Stmt::Ret(_) => env.arena.alloc(Stmt::Ret(assigned)),
|
|
||||||
hole => hole,
|
|
||||||
},
|
|
||||||
);
|
);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue