File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 445
445
446
446
* Module#** loop** (label: ` string | null ` , body: ` ExpressionRef ` ): ` ExpressionRef ` <br />
447
447
Creates a loop.
448
-
448
+
449
449
* Module#** br** (label: ` string ` , condition?: ` ExpressionRef ` , value?: ` ExpressionRef ` ): ` ExpressionRef ` <br />
450
450
Creates a branch (br) to a label.
451
451
@@ -974,6 +974,8 @@ Note that these are pseudo instructions enabling Binaryen to reason about multip
974
974
* Module#anyref.** pop** (): ` ExpressionRef `
975
975
* Module#nullref.** pop** (): ` ExpressionRef `
976
976
* Module#exnref.** pop** (): ` ExpressionRef `
977
+ * Module#tuple.** make** (elements: ` ExpressionRef[] ` ): ` ExpressionRef `
978
+ * Module#tuple.** extract** (tuple: ` ExpressionRef ` , index: ` number ` ): ` ExpressionRef `
977
979
978
980
#### [ Exception handling operations] ( https://github.com/WebAssembly/exception-handling/blob/master/proposals/Exceptions.md ) 🦄
979
981
@@ -1170,7 +1172,7 @@ Note that these are pseudo instructions enabling Binaryen to reason about multip
1170
1172
* SIMDShuffleInfo#** left** : ` ExpressionRef `
1171
1173
* SIMDShuffleInfo#** right** : ` ExpressionRef `
1172
1174
* SIMDShuffleInfo#** mask** : ` Uint8Array `
1173
- >
1175
+ >
1174
1176
* SIMDTernaryInfo#** op** : ` Op `
1175
1177
* SIMDTernaryInfo#** a** : ` ExpressionRef `
1176
1178
* SIMDTernaryInfo#** b** : ` ExpressionRef `
Original file line number Diff line number Diff line change @@ -67,6 +67,8 @@ declare module binaryen {
67
67
Throw ,
68
68
Rethrow ,
69
69
BrOnExn ,
70
+ TupleMake ,
71
+ TupleExtract ,
70
72
Push ,
71
73
Pop
72
74
}
@@ -116,6 +118,8 @@ declare module binaryen {
116
118
const ThrowId : ExpressionIds ;
117
119
const RethrowId : ExpressionIds ;
118
120
const BrOnExnId : ExpressionIds ;
121
+ const TupleMakeId : ExpressionIds ;
122
+ const TupleExtractId : ExpressionIds ;
119
123
const PushId : ExpressionIds ;
120
124
const PopId : ExpressionIds ;
121
125
@@ -1338,6 +1342,10 @@ declare module binaryen {
1338
1342
notify ( ptr : ExpressionRef , notifyCount : ExpressionRef ) : ExpressionRef ;
1339
1343
fence ( ) : ExpressionRef ;
1340
1344
} ;
1345
+ tuple : {
1346
+ make ( elements : ExportRef [ ] ) : ExpressionRef ;
1347
+ extract ( tuple : ExpressionRef , index : number ) : ExpressionRef ;
1348
+ } ;
1341
1349
try ( body : ExpressionRef , catchBody : ExpressionRef ) : ExpressionRef ;
1342
1350
throw ( event : string , operands : ExpressionRef [ ] ) : ExpressionRef ;
1343
1351
rethrow ( exnref : ExpressionRef ) : ExpressionRef ;
You can’t perform that action at this time.
0 commit comments