More accurate model of the Wasm VM's stack machine, with control flow blocks

This commit is contained in:
Brian Carroll 2021-11-14 10:59:32 +00:00
parent 39263b0ab1
commit a2abf9c3d2
3 changed files with 205 additions and 66 deletions

View file

@ -1,5 +1,5 @@
#[repr(u8)]
#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
pub enum OpCode {
UNREACHABLE = 0x00,
NOP = 0x01,