Browse Source

[PATCH 117/188] update normalization of the block result type

From e8a28fedf1aaa729c63d725d00f8992b3e1b8638 Mon Sep 17 00:00:00 2001
From: Dmitry Boyarintsev <[email protected]>
Date: Wed, 18 Mar 2020 14:48:50 -0400

git-svn-id: branches/wasm@46113 -
nickysn 5 years ago
parent
commit
1b7d815def
1 changed files with 1 additions and 1 deletions
  1. 1 1
      utils/wasmbin/wasmmodule.pas

+ 1 - 1
utils/wasmbin/wasmmodule.pas

@@ -781,7 +781,7 @@ begin
     if INST_FLAGS[ci.code].Param = ipResType then
     if INST_FLAGS[ci.code].Param = ipResType then
     begin
     begin
       inc(endNeed);
       inc(endNeed);
-      if not byte(ci.operandNum) in ValidResTypes then
+      if not (byte(ci.operandNum) in ValidResTypes) then
         ci.operandNum := VALTYPE_NONE;
         ci.operandNum := VALTYPE_NONE;
     end;
     end;