From 23da864f1d39725c1d2afc4841459a85e26e3733 Mon Sep 17 00:00:00 2001 From: Volker Berlin Date: Fri, 10 Apr 2020 16:30:59 +0200 Subject: [PATCH] API Doc --- .../jwebassembly/module/BranchManger.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/de/inetsoftware/jwebassembly/module/BranchManger.java b/src/de/inetsoftware/jwebassembly/module/BranchManger.java index f32d23d..9ce12ff 100644 --- a/src/de/inetsoftware/jwebassembly/module/BranchManger.java +++ b/src/de/inetsoftware/jwebassembly/module/BranchManger.java @@ -841,7 +841,7 @@ class BranchManger { * code3 * * - * Should be converted to the follow Wasm code for tableswitch: + * Should be converted to the follow Wasm code for try/catch: * *
      * block
@@ -1098,12 +1098,21 @@ class BranchManger {
 
         private WasmBlockOperator       endOp;
 
+        /**
+         * Extra data depending of the operator. For example the return type of a block.
+         */
         private Object                  data;
 
         private BranchNode              parent;
 
+        /**
+         * A instruction for which the return type must be calculated.
+         */
         private WasmBlockInstruction    startBlock;
 
+        /**
+         * The position of the startBlock in the instructions
+         */
         private int                     startIdx;
 
         /**