mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
Fix a test throwing a Wasm runtime error
This commit is contained in:
parent
3f404dd114
commit
4e098be7fe
2 changed files with 2 additions and 2 deletions
|
@ -343,7 +343,7 @@ impl<'a> CodeBuilder<'a> {
|
|||
self.preamble.push(GETGLOBAL);
|
||||
encode_u32(&mut self.preamble, STACK_POINTER_GLOBAL_ID);
|
||||
self.preamble.push(I32CONST);
|
||||
encode_u32(&mut self.preamble, frame_size as u32);
|
||||
encode_i32(&mut self.preamble, frame_size);
|
||||
self.preamble.push(I32SUB);
|
||||
self.preamble.push(TEELOCAL);
|
||||
encode_u32(&mut self.preamble, frame_pointer.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue