瀏覽代碼

* 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 年之前
父節點
當前提交
d5caaf792c
共有 1 個文件被更改,包括 1 次插入3 次删除
  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;