This commit is contained in:
Folkert 2022-07-07 13:40:37 +02:00
parent b1ea641cfb
commit a55461d0f8
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 2 additions and 2 deletions

View file

@ -284,7 +284,7 @@ impl<'a> Storage<'a> {
// If any arguments are 128-bit numbers, store them in the stack frame
// This makes it easier to keep track of which symbols are on the Wasm value stack
// The frame pointer will be the next local after the arguments
if self.stack_frame_size > 0 || has_zero_size_arg {
if self.stack_frame_size > 0 || has_zero_size_arg {
let frame_ptr = LocalId(self.arg_types.len() as u32);
self.stack_frame_pointer = Some(frame_ptr);
self.local_types.push(PTR_TYPE);

View file

@ -1,4 +1,4 @@
use roc_std::{RocDec, RocList, RocOrder, RocStr, RocResult};
use roc_std::{RocDec, RocList, RocOrder, RocResult, RocStr};
pub trait Wasm32Sized: Sized {
const SIZE_OF_WASM: usize;