This commit is contained in:
Volker Berlin 2020-04-10 16:30:59 +02:00
parent 432168f002
commit 23da864f1d

View File

@ -841,7 +841,7 @@ class BranchManger {
* code3 * code3
* </pre> * </pre>
* *
* Should be converted to the follow Wasm code for tableswitch: * Should be converted to the follow Wasm code for try/catch:
* *
* <pre> * <pre>
* block * block
@ -1098,12 +1098,21 @@ class BranchManger {
private WasmBlockOperator endOp; private WasmBlockOperator endOp;
/**
* Extra data depending of the operator. For example the return type of a block.
*/
private Object data; private Object data;
private BranchNode parent; private BranchNode parent;
/**
* A instruction for which the return type must be calculated.
*/
private WasmBlockInstruction startBlock; private WasmBlockInstruction startBlock;
/**
* The position of the startBlock in the instructions
*/
private int startIdx; private int startIdx;
/** /**