Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sven SAULEAU
committed
May 24, 2018
1 parent
acc45fd
commit 00eafa6
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
(module (type $t0 (func (result i32))) (type $t1 (func (param i32))) (import "./memory.wat" "memory" (memory $./memory.wasm.memory 1)) (func $get (export "get") (type $t0) (result i32) (i32.load (i32.const 0))) (func $set (export "set") (type $t1) (param $p i32) (i32.store (i32.const 0) (get_local $p)))) | ||
(module | ||
(type $t0 (func (result i32))) | ||
(type $t1 (func (param i32))) | ||
(import "./memory.wat" "memory" (memory $./memory.wasm.memory 1)) | ||
(func $get (export "get") (type $t0) (result i32) | ||
(i32.load | ||
(i32.const 0))) | ||
(func $set (export "set") (type $t1) (param $p i32) | ||
(i32.store | ||
(i32.const 0) | ||
(get_local $p)))) |