Browse Source

* update comment about twasmifnode, since the WebAssembly 'if' instruction that
we emit is no longer hardcoded to return a value

git-svn-id: branches/wasm@48201 -

nickysn 4 years ago
parent
commit
d5caaf792c
1 changed files with 1 additions and 3 deletions
  1. 1 3
      compiler/wasm32/nwasmflw.pas

+ 1 - 3
compiler/wasm32/nwasmflw.pas

@@ -35,9 +35,7 @@ interface
       { Wasm doesn't have any jump(+offset) operations
         It only provide structured blockes to handle jumps
         (It's possible to jump-out-of-block at any time)
-        "If" is also implemented as a block, identical to high-level language.
-        Another thing to consider is "if" block also "returns" a value on the stack.
-        Such value should be substituteed (it's hard-coded to be type i32) }
+        "If" is also implemented as a block, identical to high-level language. }
       twasmifnode = class(tcgifnode)
       public
         procedure pass_generate_code;override;