Browse Source

+ introduced TWasmBasicTypeList

Nikolay Nikolov 1 year ago
parent
commit
d575aa5240
1 changed files with 3 additions and 2 deletions
  1. 3 2
      compiler/wasm32/aasmcpu.pas

+ 3 - 2
compiler/wasm32/aasmcpu.pas

@@ -41,6 +41,7 @@ uses
       O_MOV_DEST = 0;
       O_MOV_DEST = 0;
 
 
     type
     type
+      TWasmBasicTypeList = array of TWasmBasicType;
 
 
       { TWasmValueStack }
       { TWasmValueStack }
 
 
@@ -61,8 +62,8 @@ uses
 
 
       TWasmControlFrame = record
       TWasmControlFrame = record
         opcode: tasmop;
         opcode: tasmop;
-        start_types: array of TWasmBasicType;
-        end_types: array of TWasmBasicType;
+        start_types: TWasmBasicTypeList;
+        end_types: TWasmBasicTypeList;
         height: Integer;
         height: Integer;
         unreachable: Boolean;
         unreachable: Boolean;
       end;
       end;