mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Move Value from wasm_interp to wasm_module & create GlobalSection::initial_values
This commit is contained in:
parent
0a2f2739b2
commit
235c238e36
6 changed files with 85 additions and 15 deletions
|
@ -1,10 +1,8 @@
|
|||
use bitvec::vec::BitVec;
|
||||
use bumpalo::{collections::Vec, Bump};
|
||||
use roc_wasm_module::{parse::Parse, ValueType};
|
||||
use roc_wasm_module::{parse::Parse, Value, ValueType};
|
||||
use std::iter::repeat;
|
||||
|
||||
use crate::Value;
|
||||
|
||||
/// Struct-of-Arrays storage for the call stack.
|
||||
/// Type info is packed to avoid wasting space on padding.
|
||||
/// However we store 64 bits for every local, even 32-bit values, for easy random access.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue