mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
wasm_interp: Tests for ExecutionState
This commit is contained in:
parent
26cce05bbe
commit
3d7fb380a5
5 changed files with 720 additions and 11 deletions
|
@ -8,6 +8,7 @@ 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.
|
||||
#[derive(Debug)]
|
||||
pub struct CallStack<'a> {
|
||||
/// return addresses (one entry per frame)
|
||||
return_addrs: Vec<'a, u32>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue