git ssb

0+

wanderer🌟 / js-primea-wasm-container



Commit 4af0630e844fe5c816f308e0ce8210d97c227951

added run

wanderer committed on 7/28/2017, 5:58:44 PM
Parent: 6ee57faff85ab7e24861a30fb065cc6bac49b9a1

Files changed

tests/wasm/run.wasmadded
tests/wast/run.wastadded
tests/wasm/run.wasmView
@@ -1,0 +1,4 @@
1+asm```testequalsp#memory
2+onCreation onMessage
3+A
4+AAA
tests/wast/run.wastView
@@ -1,0 +1,19 @@
1+(module
2+ (type $FUNCSIG$vii (func (param i32 i32)))
3+ (import "test" "equals" (func $equals (param i32 i32)))
4+ (table 0 anyfunc)
5+ (memory $0 1)
6+ (export "memory" (memory $0))
7+ (export "onCreation" (func $onCreation))
8+ (export "onMessage" (func $onMessage))
9+ (func $onCreation (param $0 i32) (result i32)
10+ (i32.const 0)
11+ )
12+ (func $onMessage (result i32)
13+ (call $equals
14+ (i32.const 0)
15+ (i32.const 0)
16+ )
17+ (i32.const 0)
18+ )
19+)

Built with git-ssb-web