Browse Source

+ support all the new types in encode_wasm_basic_type

Nikolay Nikolov 3 years ago
parent
commit
3a095f5ed5
1 changed files with 6 additions and 0 deletions
  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;