mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
format
This commit is contained in:
parent
b1ea641cfb
commit
a55461d0f8
2 changed files with 2 additions and 2 deletions
|
@ -284,7 +284,7 @@ impl<'a> Storage<'a> {
|
||||||
// If any arguments are 128-bit numbers, store them in the stack frame
|
// 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
|
// 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
|
// 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);
|
let frame_ptr = LocalId(self.arg_types.len() as u32);
|
||||||
self.stack_frame_pointer = Some(frame_ptr);
|
self.stack_frame_pointer = Some(frame_ptr);
|
||||||
self.local_types.push(PTR_TYPE);
|
self.local_types.push(PTR_TYPE);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use roc_std::{RocDec, RocList, RocOrder, RocStr, RocResult};
|
use roc_std::{RocDec, RocList, RocOrder, RocResult, RocStr};
|
||||||
|
|
||||||
pub trait Wasm32Sized: Sized {
|
pub trait Wasm32Sized: Sized {
|
||||||
const SIZE_OF_WASM: usize;
|
const SIZE_OF_WASM: usize;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue