233
233
table.copy <var>? <var>?
234
234
table.init <var>? <var>
235
235
elem.drop <var>
236
- <val_type >.load((8|16|32)_<sign>)? <offset>? <align>?
237
- <val_type >.store(8|16|32)? <offset>? <align>?
236
+ <num_type >.load((8|16|32)_<sign>)? <offset>? <align>?
237
+ <num_type >.store(8|16|32)? <offset>? <align>?
238
238
memory.size
239
239
memory.grow
240
240
memory.fill
@@ -244,12 +244,12 @@ op:
244
244
ref.null <ref_kind>
245
245
ref.is_null <ref_kind>
246
246
ref.func <var>
247
- <val_type >.const <value>
248
- <val_type >.<unop>
249
- <val_type >.<binop>
250
- <val_type >.<testop>
251
- <val_type >.<relop>
252
- <val_type >.<cvtop>_<val_type >(_<sign>)?
247
+ <num_type >.const <value>
248
+ <num_type >.<unop>
249
+ <num_type >.<binop>
250
+ <num_type >.<testop>
251
+ <num_type >.<relop>
252
+ <num_type >.<cvtop>_<num_type >(_<sign>)?
253
253
254
254
func: ( func <name>? <func_type> <local>* <instr>* )
255
255
( func <name>? ( export <string> ) <...> ) ;; = (export <string> (func <N>)) (func <name>? <...>)
@@ -362,11 +362,11 @@ assertion:
362
362
( assert_trap <module> <failure> ) ;; assert module traps on instantiation
363
363
364
364
result:
365
- ( <val_type >.const <numpat > )
365
+ ( <num_type >.const <num_pat > )
366
366
( ref.extern )
367
367
( ref.func )
368
368
369
- numpat :
369
+ num_pat :
370
370
<value> ;; literal result
371
371
nan:canonical ;; NaN in canonical form
372
372
nan:arithmetic ;; NaN with 1 in MSB of payload
@@ -421,9 +421,11 @@ assertion:
421
421
( assert_trap <module> <failure> ) ;; assert module traps on instantiation
422
422
423
423
result:
424
- ( <val_type>.const <numpat> )
424
+ ( <num_type>.const <num_pat> )
425
+ ( ref.extern )
426
+ ( ref.func )
425
427
426
- numpat :
428
+ num_pat :
427
429
<value> ;; literal result
428
430
nan:canonical ;; NaN in canonical form
429
431
nan:arithmetic ;; NaN with 1 in MSB of payload
0 commit comments