mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
cleanup
This commit is contained in:
parent
d42e987b12
commit
da3635de8e
2 changed files with 2 additions and 18 deletions
|
@ -919,12 +919,9 @@ impl<
|
|||
|
||||
fn build_roc_panic(&mut self) -> (&'a [u8], Vec<'a, Relocation>) {
|
||||
let mut out = bumpalo::vec![in self.env.arena];
|
||||
let mut relocs = bumpalo::vec![in self.env.arena];
|
||||
|
||||
let before = self.relocs.len();
|
||||
|
||||
CC::roc_panic(&mut out, &mut self.relocs);
|
||||
|
||||
let relocs = self.relocs.split_off(before);
|
||||
CC::roc_panic(&mut out, &mut relocs);
|
||||
|
||||
(out.into_bump_slice(), relocs)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue