mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Skip relocations for test_wrapper since we don't run a linker on it anyway.
This commit is contained in:
parent
b541802819
commit
99b08ad395
4 changed files with 26 additions and 87 deletions
|
@ -441,7 +441,8 @@ impl<'a> CodeBuilder<'a> {
|
|||
self.code.push(immediate);
|
||||
}
|
||||
|
||||
fn inst_imm32(&mut self, opcode: u8, pops: usize, push: bool, immediate: u32) {
|
||||
// public for use in test code
|
||||
pub fn inst_imm32(&mut self, opcode: u8, pops: usize, push: bool, immediate: u32) {
|
||||
self.inst(opcode, pops, push);
|
||||
self.code.encode_u32(immediate);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue