瀏覽代碼

+ support all the new types in encode_wasm_basic_type

Nikolay Nikolov 3 年之前
父節點
當前提交
3a095f5ed5
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      compiler/wasm32/cpubase.pas

+ 6 - 0
compiler/wasm32/cpubase.pas

@@ -560,6 +560,12 @@ uses
             result:=$7D;
           wbt_f64:
             result:=$7C;
+          wbt_funcref:
+            result:=$70;
+          wbt_externref:
+            result:=$6F;
+          wbt_v128:
+            result:=$7B;
         end;
       end;