mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
cleanup
This commit is contained in:
parent
f59eed6366
commit
bb97b9ff74
7 changed files with 30 additions and 59 deletions
|
@ -135,8 +135,8 @@ pub trait CallConv<GeneralReg: RegTrait, FloatReg: RegTrait, ASM: Assembler<Gene
|
|||
layout: &InLayout<'a>,
|
||||
);
|
||||
|
||||
fn setjmp(buf: &mut Vec<'_, u8>, relocs: &mut Vec<'_, Relocation>);
|
||||
fn longjmp(buf: &mut Vec<'_, u8>, relocs: &mut Vec<'_, Relocation>);
|
||||
fn setjmp(buf: &mut Vec<'_, u8>);
|
||||
fn longjmp(buf: &mut Vec<'_, u8>);
|
||||
fn roc_panic(buf: &mut Vec<'_, u8>, relocs: &mut Vec<'_, Relocation>);
|
||||
}
|
||||
|
||||
|
@ -904,7 +904,7 @@ impl<
|
|||
fn build_roc_setjmp(&mut self) -> &'a [u8] {
|
||||
let mut out = bumpalo::vec![in self.env.arena];
|
||||
|
||||
CC::setjmp(&mut out, &mut self.relocs);
|
||||
CC::setjmp(&mut out);
|
||||
|
||||
out.into_bump_slice()
|
||||
}
|
||||
|
@ -912,7 +912,7 @@ impl<
|
|||
fn build_roc_longjmp(&mut self) -> &'a [u8] {
|
||||
let mut out = bumpalo::vec![in self.env.arena];
|
||||
|
||||
CC::longjmp(&mut out, &mut self.relocs);
|
||||
CC::longjmp(&mut out);
|
||||
|
||||
out.into_bump_slice()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue