@wasmgroundup/emit 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -0
- package/index.ts +11 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -41,6 +41,17 @@ declare const instr: {
|
|
|
41
41
|
};
|
|
42
42
|
i32: {
|
|
43
43
|
const: number;
|
|
44
|
+
eqz: number;
|
|
45
|
+
eq: number;
|
|
46
|
+
ne: number;
|
|
47
|
+
lt_s: number;
|
|
48
|
+
lt_u: number;
|
|
49
|
+
gt_s: number;
|
|
50
|
+
gt_u: number;
|
|
51
|
+
le_s: number;
|
|
52
|
+
le_u: number;
|
|
53
|
+
ge_s: number;
|
|
54
|
+
ge_u: number;
|
|
44
55
|
add: number;
|
|
45
56
|
sub: number;
|
|
46
57
|
mul: number;
|
package/dist/index.js
CHANGED
|
@@ -106,6 +106,17 @@ const instr = {
|
|
|
106
106
|
},
|
|
107
107
|
i32: {
|
|
108
108
|
const: 0x41,
|
|
109
|
+
eqz: 0x45,
|
|
110
|
+
eq: 0x46,
|
|
111
|
+
ne: 0x47,
|
|
112
|
+
lt_s: 0x48,
|
|
113
|
+
lt_u: 0x49,
|
|
114
|
+
gt_s: 0x4a,
|
|
115
|
+
gt_u: 0x4b,
|
|
116
|
+
le_s: 0x4c,
|
|
117
|
+
le_u: 0x4d,
|
|
118
|
+
ge_s: 0x4e,
|
|
119
|
+
ge_u: 0x4f,
|
|
109
120
|
add: 0x6a,
|
|
110
121
|
sub: 0x6b,
|
|
111
122
|
mul: 0x6c,
|
package/index.ts
CHANGED
|
@@ -138,6 +138,17 @@ const instr = {
|
|
|
138
138
|
|
|
139
139
|
i32: {
|
|
140
140
|
const: 0x41,
|
|
141
|
+
eqz: 0x45,
|
|
142
|
+
eq: 0x46,
|
|
143
|
+
ne: 0x47,
|
|
144
|
+
lt_s: 0x48,
|
|
145
|
+
lt_u: 0x49,
|
|
146
|
+
gt_s: 0x4a,
|
|
147
|
+
gt_u: 0x4b,
|
|
148
|
+
le_s: 0x4c,
|
|
149
|
+
le_u: 0x4d,
|
|
150
|
+
ge_s: 0x4e,
|
|
151
|
+
ge_u: 0x4f,
|
|
141
152
|
add: 0x6a,
|
|
142
153
|
sub: 0x6b,
|
|
143
154
|
mul: 0x6c,
|