Jelajahi Sumber

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

Nikolay Nikolov 2 tahun lalu
induk
melakukan
f47ca0c5d1
1 mengubah file dengan 2 tambahan dan 0 penghapusan
  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));
                  end;
                end;
+             if tsystemcpu(ppufile.header.common.cpu)=cpu_wasm32 then
+               writeln([space,'   WASM externref : ',(getbyte<>0)]);
            end;
 
          iborddef :