|
123 | 123 |
|
124 | 124 | ;; MOD2: (import "" "C" (func $C (type $0) (result f32)))
|
125 | 125 |
|
126 |
| - ;; MOD2: (import "" "trampoline_A" (func $fimport$1 (type $1) (result i32))) |
| 126 | + ;; MOD2: (import "" "trampoline_A" (func $trampoline_A (type $1) (result i32))) |
127 | 127 |
|
128 | 128 | ;; MOD2: (elem $0 (i32.const 0) $B)
|
129 | 129 |
|
130 |
| - ;; MOD2: (elem declare func $C $fimport$1) |
| 130 | + ;; MOD2: (elem declare func $C $trampoline_A) |
131 | 131 |
|
132 | 132 | ;; MOD2: (func $B (type $2) (result i64)
|
133 | 133 | ;; MOD2-NEXT: (drop
|
134 | 134 | ;; MOD2-NEXT: (call_ref $1
|
135 |
| - ;; MOD2-NEXT: (ref.func $fimport$1) |
| 135 | + ;; MOD2-NEXT: (ref.func $trampoline_A) |
136 | 136 | ;; MOD2-NEXT: )
|
137 | 137 | ;; MOD2-NEXT: )
|
138 | 138 | ;; MOD2-NEXT: (drop
|
|
157 | 157 |
|
158 | 158 | ;; MOD2-OPTIONS: (import "custom_env" "C" (func $C (type $0) (result f32)))
|
159 | 159 |
|
160 |
| - ;; MOD2-OPTIONS: (import "custom_env" "trampoline_A" (func $fimport$1 (type $1) (result i32))) |
| 160 | + ;; MOD2-OPTIONS: (import "custom_env" "trampoline_A" (func $trampoline_A (type $1) (result i32))) |
161 | 161 |
|
162 | 162 | ;; MOD2-OPTIONS: (elem $0 (i32.const 0) $B)
|
163 | 163 |
|
164 |
| - ;; MOD2-OPTIONS: (elem declare func $C $fimport$1) |
| 164 | + ;; MOD2-OPTIONS: (elem declare func $C $trampoline_A) |
165 | 165 |
|
166 | 166 | ;; MOD2-OPTIONS: (func $B (type $2) (result i64)
|
167 | 167 | ;; MOD2-OPTIONS-NEXT: (drop
|
168 | 168 | ;; MOD2-OPTIONS-NEXT: (call_ref $1
|
169 |
| - ;; MOD2-OPTIONS-NEXT: (ref.func $fimport$1) |
| 169 | + ;; MOD2-OPTIONS-NEXT: (ref.func $trampoline_A) |
170 | 170 | ;; MOD2-OPTIONS-NEXT: )
|
171 | 171 | ;; MOD2-OPTIONS-NEXT: )
|
172 | 172 | ;; MOD2-OPTIONS-NEXT: (drop
|
|
208 | 208 |
|
209 | 209 | ;; MOD3: (import "" "table_6" (table $timport$0 1 funcref))
|
210 | 210 |
|
211 |
| - ;; MOD3: (import "" "trampoline_A" (func $fimport$0 (type $0) (result i32))) |
| 211 | + ;; MOD3: (import "" "trampoline_A" (func $trampoline_A (type $0) (result i32))) |
212 | 212 |
|
213 |
| - ;; MOD3: (import "" "trampoline_B" (func $fimport$1 (type $1) (result i64))) |
| 213 | + ;; MOD3: (import "" "trampoline_B" (func $trampoline_B (type $1) (result i64))) |
214 | 214 |
|
215 | 215 | ;; MOD3: (elem $0 (i32.const 0) $C)
|
216 | 216 |
|
217 |
| - ;; MOD3: (elem declare func $fimport$0 $fimport$1) |
| 217 | + ;; MOD3: (elem declare func $trampoline_A $trampoline_B) |
218 | 218 |
|
219 | 219 | ;; MOD3: (func $C (type $2) (result f32)
|
220 | 220 | ;; MOD3-NEXT: (drop
|
221 | 221 | ;; MOD3-NEXT: (call_ref $0
|
222 |
| - ;; MOD3-NEXT: (ref.func $fimport$0) |
| 222 | + ;; MOD3-NEXT: (ref.func $trampoline_A) |
223 | 223 | ;; MOD3-NEXT: )
|
224 | 224 | ;; MOD3-NEXT: )
|
225 | 225 | ;; MOD3-NEXT: (drop
|
226 | 226 | ;; MOD3-NEXT: (call_ref $1
|
227 |
| - ;; MOD3-NEXT: (ref.func $fimport$1) |
| 227 | + ;; MOD3-NEXT: (ref.func $trampoline_B) |
228 | 228 | ;; MOD3-NEXT: )
|
229 | 229 | ;; MOD3-NEXT: )
|
230 | 230 | ;; MOD3-NEXT: (drop
|
|
242 | 242 |
|
243 | 243 | ;; MOD3-OPTIONS: (import "custom_env" "table_6" (table $timport$0 1 funcref))
|
244 | 244 |
|
245 |
| - ;; MOD3-OPTIONS: (import "custom_env" "trampoline_A" (func $fimport$0 (type $0) (result i32))) |
| 245 | + ;; MOD3-OPTIONS: (import "custom_env" "trampoline_A" (func $trampoline_A (type $0) (result i32))) |
246 | 246 |
|
247 |
| - ;; MOD3-OPTIONS: (import "custom_env" "trampoline_B" (func $fimport$1 (type $1) (result i64))) |
| 247 | + ;; MOD3-OPTIONS: (import "custom_env" "trampoline_B" (func $trampoline_B (type $1) (result i64))) |
248 | 248 |
|
249 | 249 | ;; MOD3-OPTIONS: (elem $0 (i32.const 0) $C)
|
250 | 250 |
|
251 |
| - ;; MOD3-OPTIONS: (elem declare func $fimport$0 $fimport$1) |
| 251 | + ;; MOD3-OPTIONS: (elem declare func $trampoline_A $trampoline_B) |
252 | 252 |
|
253 | 253 | ;; MOD3-OPTIONS: (func $C (type $2) (result f32)
|
254 | 254 | ;; MOD3-OPTIONS-NEXT: (drop
|
255 | 255 | ;; MOD3-OPTIONS-NEXT: (call_ref $0
|
256 |
| - ;; MOD3-OPTIONS-NEXT: (ref.func $fimport$0) |
| 256 | + ;; MOD3-OPTIONS-NEXT: (ref.func $trampoline_A) |
257 | 257 | ;; MOD3-OPTIONS-NEXT: )
|
258 | 258 | ;; MOD3-OPTIONS-NEXT: )
|
259 | 259 | ;; MOD3-OPTIONS-NEXT: (drop
|
260 | 260 | ;; MOD3-OPTIONS-NEXT: (call_ref $1
|
261 |
| - ;; MOD3-OPTIONS-NEXT: (ref.func $fimport$1) |
| 261 | + ;; MOD3-OPTIONS-NEXT: (ref.func $trampoline_B) |
262 | 262 | ;; MOD3-OPTIONS-NEXT: )
|
263 | 263 | ;; MOD3-OPTIONS-NEXT: )
|
264 | 264 | ;; MOD3-OPTIONS-NEXT: (drop
|
|
311 | 311 |
|
312 | 312 | ;; PRIMARY: (export "table" (table $0))
|
313 | 313 |
|
314 |
| -;; PRIMARY: (export "trampoline_A" (func $0)) |
| 314 | +;; PRIMARY: (export "trampoline_A" (func $trampoline_A)) |
315 | 315 |
|
316 | 316 | ;; PRIMARY: (export "table_4" (table $1))
|
317 | 317 |
|
318 |
| -;; PRIMARY: (export "trampoline_B" (func $2)) |
| 318 | +;; PRIMARY: (export "trampoline_B" (func $trampoline_B)) |
319 | 319 |
|
320 | 320 | ;; PRIMARY: (export "table_6" (table $2))
|
321 | 321 |
|
322 |
| -;; PRIMARY: (func $0 (type $ret-i32) (result i32) |
| 322 | +;; PRIMARY: (func $trampoline_A (type $ret-i32) (result i32) |
323 | 323 | ;; PRIMARY-NEXT: (call_indirect $0 (type $ret-i32)
|
324 | 324 | ;; PRIMARY-NEXT: (i32.const 0)
|
325 | 325 | ;; PRIMARY-NEXT: )
|
|
331 | 331 | ;; PRIMARY-NEXT: )
|
332 | 332 | ;; PRIMARY-NEXT: )
|
333 | 333 |
|
334 |
| -;; PRIMARY: (func $2 (type $ret-i64) (result i64) |
| 334 | +;; PRIMARY: (func $trampoline_B (type $ret-i64) (result i64) |
335 | 335 | ;; PRIMARY-NEXT: (call_indirect $1 (type $ret-i64)
|
336 | 336 | ;; PRIMARY-NEXT: (i32.const 0)
|
337 | 337 | ;; PRIMARY-NEXT: )
|
|
361 | 361 |
|
362 | 362 | ;; PRIMARY-OPTIONS: (export "table" (table $0))
|
363 | 363 |
|
364 |
| -;; PRIMARY-OPTIONS: (export "trampoline_A" (func $0)) |
| 364 | +;; PRIMARY-OPTIONS: (export "trampoline_A" (func $trampoline_A)) |
365 | 365 |
|
366 | 366 | ;; PRIMARY-OPTIONS: (export "table_4" (table $1))
|
367 | 367 |
|
368 |
| -;; PRIMARY-OPTIONS: (export "trampoline_B" (func $2)) |
| 368 | +;; PRIMARY-OPTIONS: (export "trampoline_B" (func $trampoline_B)) |
369 | 369 |
|
370 | 370 | ;; PRIMARY-OPTIONS: (export "table_6" (table $2))
|
371 | 371 |
|
372 |
| -;; PRIMARY-OPTIONS: (func $0 (type $ret-i32) (result i32) |
| 372 | +;; PRIMARY-OPTIONS: (func $trampoline_A (type $ret-i32) (result i32) |
373 | 373 | ;; PRIMARY-OPTIONS-NEXT: (call_indirect $0 (type $ret-i32)
|
374 | 374 | ;; PRIMARY-OPTIONS-NEXT: (i32.const 0)
|
375 | 375 | ;; PRIMARY-OPTIONS-NEXT: )
|
|
381 | 381 | ;; PRIMARY-OPTIONS-NEXT: )
|
382 | 382 | ;; PRIMARY-OPTIONS-NEXT: )
|
383 | 383 |
|
384 |
| -;; PRIMARY-OPTIONS: (func $2 (type $ret-i64) (result i64) |
| 384 | +;; PRIMARY-OPTIONS: (func $trampoline_B (type $ret-i64) (result i64) |
385 | 385 | ;; PRIMARY-OPTIONS-NEXT: (call_indirect $1 (type $ret-i64)
|
386 | 386 | ;; PRIMARY-OPTIONS-NEXT: (i32.const 0)
|
387 | 387 | ;; PRIMARY-OPTIONS-NEXT: )
|
|
0 commit comments