Commit ca594e27e5aba78adda64c8896f29bceace6c428
fix refMap
wanderer committed on 4/4/2018, 12:54:23 AMParent: 2a16bd8bcb35b4d5593a39e285925c7c2f97d551
Files changed
package-lock.json | changed |
package.json | changed |
tests/wast/globals.json | deleted |
tests/wast/globals.wast | deleted |
package-lock.json | ||
---|---|---|
The diff is too large to show. Use a local git client to view these changes. Old file size: 194521 bytes New file size: 194521 bytes |
package.json | ||
---|---|---|
@@ -33,9 +33,9 @@ | ||
33 | 33 | }, |
34 | 34 | "dependencies": { |
35 | 35 | "primea-annotations": "^0.0.3", |
36 | 36 | "primea-objects": "^0.0.3", |
37 | - "reference-map": "1.2.4", | |
37 | + "reference-map": "1.2.5", | |
38 | 38 | "wasm-json-toolkit": "^0.2.3", |
39 | 39 | "wasm-metering": "^0.1.1" |
40 | 40 | } |
41 | 41 | } |
tests/wast/globals.json | ||
---|---|---|
@@ -1,7 +1,0 @@ | ||
1 | -{ | |
2 | - "persist": [{ | |
3 | - "form": "global", | |
4 | - "index": 0, | |
5 | - "type": "data" | |
6 | - }] | |
7 | -} |
tests/wast/globals.wast | ||
---|---|---|
@@ -1,23 +1,0 @@ | ||
1 | -(module | |
2 | - (import "memory" "externalize" (func $externalize (param i32 i32) (result i32))) | |
3 | - (import "memory" "internalize" (func $internalize (param i32 i32 i32 i32))) | |
4 | - (global (mut i32) (i32.const -2)) | |
5 | - (global (mut i32) (i32.const -2)) | |
6 | - (memory (export "memory") 1) | |
7 | - (data (i32.const 0) "test") | |
8 | - (func $store | |
9 | - i32.const 0 | |
10 | - i32.const 4 | |
11 | - call $externalize | |
12 | - set_global 0 | |
13 | - ) | |
14 | - | |
15 | - (func $load | |
16 | - get_global 0 | |
17 | - i32.const 0 | |
18 | - i32.const 5 | |
19 | - i32.const 4 | |
20 | - call $internalize | |
21 | - ) | |
22 | - (export "load" (func $load)) | |
23 | - (export "store" (func $store))) |
Built with git-ssb-web