plain instruction set draft

This commit is contained in:
Svyatoslav Nikolsky
2017-06-22 17:52:05 +03:00
parent a835276399
commit 4b61e18929
12 changed files with 552 additions and 587 deletions

View File

@@ -1016,13 +1016,9 @@ mod tests {
FuncBody::new(
vec![Local::new(1, ValueType::I32)],
Opcodes::new(vec![
Block(
BlockType::Value(ValueType::I32),
Opcodes::new(vec![
GetGlobal(0),
End
])
),
Block(BlockType::Value(ValueType::I32)),
GetGlobal(0),
End,
End,
])
)