@wasmgroundup/emit 0.2.15 → 0.2.16
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 +7 -0
- package/dist/index.js +7 -0
- package/index.ts +7 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -50,7 +50,12 @@ declare const instr: {
|
|
|
50
50
|
set: number;
|
|
51
51
|
tee: number;
|
|
52
52
|
};
|
|
53
|
+
memory: {
|
|
54
|
+
size: number;
|
|
55
|
+
grow: number;
|
|
56
|
+
};
|
|
53
57
|
i32: {
|
|
58
|
+
load: number;
|
|
54
59
|
const: number;
|
|
55
60
|
eqz: number;
|
|
56
61
|
eq: number;
|
|
@@ -68,6 +73,7 @@ declare const instr: {
|
|
|
68
73
|
mul: number;
|
|
69
74
|
};
|
|
70
75
|
i64: {
|
|
76
|
+
store32: number;
|
|
71
77
|
const: number;
|
|
72
78
|
add: number;
|
|
73
79
|
sub: number;
|
|
@@ -88,6 +94,7 @@ declare const instr: {
|
|
|
88
94
|
sub: number;
|
|
89
95
|
mul: number;
|
|
90
96
|
div: number;
|
|
97
|
+
reinterpret_i64: number;
|
|
91
98
|
};
|
|
92
99
|
};
|
|
93
100
|
declare function u32(v: number | bigint): number[];
|
package/dist/index.js
CHANGED
|
@@ -120,7 +120,12 @@ const instr = {
|
|
|
120
120
|
set: 0x24,
|
|
121
121
|
tee: 0x25,
|
|
122
122
|
},
|
|
123
|
+
memory: {
|
|
124
|
+
size: 0x3f,
|
|
125
|
+
grow: 0x40,
|
|
126
|
+
},
|
|
123
127
|
i32: {
|
|
128
|
+
load: 0x28,
|
|
124
129
|
const: 0x41,
|
|
125
130
|
eqz: 0x45,
|
|
126
131
|
eq: 0x46,
|
|
@@ -138,6 +143,7 @@ const instr = {
|
|
|
138
143
|
mul: 0x6c,
|
|
139
144
|
},
|
|
140
145
|
i64: {
|
|
146
|
+
store32: 0x3e,
|
|
141
147
|
const: 0x42,
|
|
142
148
|
add: 0x7c,
|
|
143
149
|
sub: 0x7d,
|
|
@@ -158,6 +164,7 @@ const instr = {
|
|
|
158
164
|
sub: 0xa1,
|
|
159
165
|
mul: 0xa2,
|
|
160
166
|
div: 0xa3,
|
|
167
|
+
reinterpret_i64: 0xbf,
|
|
161
168
|
},
|
|
162
169
|
};
|
|
163
170
|
const SEVEN_BIT_MASK_BIG_INT = 127n;
|
package/index.ts
CHANGED
|
@@ -151,8 +151,13 @@ const instr = {
|
|
|
151
151
|
set: 0x24,
|
|
152
152
|
tee: 0x25,
|
|
153
153
|
},
|
|
154
|
+
memory: {
|
|
155
|
+
size: 0x3f,
|
|
156
|
+
grow: 0x40,
|
|
157
|
+
},
|
|
154
158
|
|
|
155
159
|
i32: {
|
|
160
|
+
load: 0x28,
|
|
156
161
|
const: 0x41,
|
|
157
162
|
eqz: 0x45,
|
|
158
163
|
eq: 0x46,
|
|
@@ -170,6 +175,7 @@ const instr = {
|
|
|
170
175
|
mul: 0x6c,
|
|
171
176
|
},
|
|
172
177
|
i64: {
|
|
178
|
+
store32: 0x3e,
|
|
173
179
|
const: 0x42,
|
|
174
180
|
add: 0x7c,
|
|
175
181
|
sub: 0x7d,
|
|
@@ -190,6 +196,7 @@ const instr = {
|
|
|
190
196
|
sub: 0xa1,
|
|
191
197
|
mul: 0xa2,
|
|
192
198
|
div: 0xa3,
|
|
199
|
+
reinterpret_i64: 0xbf,
|
|
193
200
|
},
|
|
194
201
|
};
|
|
195
202
|
|