Skip to content

Commit 167d391

Browse files
committed
Comment Wasm blob
1 parent e1d7970 commit 167d391

File tree

1 file changed

+62
-2
lines changed

1 file changed

+62
-2
lines changed

index.js

Lines changed: 62 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,69 @@
2222
var wasm = null;
2323
try {
2424
wasm = new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([
25-
0, 97, 115, 109, 1, 0, 0, 0, 1, 13, 2, 96, 0, 1, 127, 96, 4, 127, 127, 127, 127, 1, 127, 3, 7, 6, 0, 1, 1, 1, 1, 1, 6, 6, 1, 127, 1, 65, 0, 11, 7, 50, 6, 3, 109, 117, 108, 0, 1, 5, 100, 105, 118, 95, 115, 0, 2, 5, 100, 105, 118, 95, 117, 0, 3, 5, 114, 101, 109, 95, 115, 0, 4, 5, 114, 101, 109, 95, 117, 0, 5, 8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0, 10, 191, 1, 6, 4, 0, 35, 0, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11, 36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11
25+
// \0asm
26+
0, 97, 115, 109,
27+
// version 1
28+
1, 0, 0, 0,
29+
30+
// section "type"
31+
1, 13, 2,
32+
// 0, () => i32
33+
96, 0, 1, 127,
34+
// 1, (i32, i32, i32, i32) => i32
35+
96, 4, 127, 127, 127, 127, 1, 127,
36+
37+
// section "function"
38+
3, 7, 6,
39+
// 0, type 0
40+
0,
41+
// 1, type 1
42+
1,
43+
// 2, type 1
44+
1,
45+
// 3, type 1
46+
1,
47+
// 4, type 1
48+
1,
49+
// 5, type 1
50+
1,
51+
52+
// section "global"
53+
6, 6, 1,
54+
// 0, "high", mutable i32
55+
127, 1, 65, 0, 11,
56+
57+
// section "export"
58+
7, 50, 6,
59+
// 0, "mul"
60+
3, 109, 117, 108, 0, 1,
61+
// 1, "div_s"
62+
5, 100, 105, 118, 95, 115, 0, 2,
63+
// 2, "div_u"
64+
5, 100, 105, 118, 95, 117, 0, 3,
65+
// 3, "rem_s"
66+
5, 114, 101, 109, 95, 115, 0, 4,
67+
// 4, "rem_u"
68+
5, 114, 101, 109, 95, 117, 0, 5,
69+
// 5, "get_high"
70+
8, 103, 101, 116, 95, 104, 105, 103, 104, 0, 0,
71+
72+
// section "code"
73+
10, 191, 1, 6,
74+
// 0, "get_high"
75+
4, 0, 35, 0, 11,
76+
// 1, "mul"
77+
36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 126, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11,
78+
// 2, "div_s"
79+
36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 127, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11,
80+
// 3, "div_u"
81+
36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 128, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11,
82+
// 4, "rem_s"
83+
36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 129, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11,
84+
// 5, "rem_u"
85+
36, 1, 1, 126, 32, 0, 173, 32, 1, 173, 66, 32, 134, 132, 32, 2, 173, 32, 3, 173, 66, 32, 134, 132, 130, 34, 4, 66, 32, 135, 167, 36, 0, 32, 4, 167, 11
2686
])), {}).exports;
27-
} catch (e) {
87+
} catch {
2888
// no wasm support :(
2989
}
3090

0 commit comments

Comments
 (0)