Browse Source

* fixed ppudump for WebAssembly after the JS Promise Integration branch merge

Nikolay Nikolov 2 years ago
parent
commit
f47ca0c5d1
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/utils/ppuutils/ppudump.pp

+ 2 - 0
compiler/utils/ppuutils/ppudump.pp

@@ -4088,6 +4088,8 @@ begin
                      WriteWarning('Invalid x86 pointer type: ' + IntToStr(b));
                      WriteWarning('Invalid x86 pointer type: ' + IntToStr(b));
                  end;
                  end;
                end;
                end;
+             if tsystemcpu(ppufile.header.common.cpu)=cpu_wasm32 then
+               writeln([space,'   WASM externref : ',(getbyte<>0)]);
            end;
            end;
 
 
          iborddef :
          iborddef :