Explorar el Código

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

Nikolay Nikolov hace 2 años
padre
commit
f47ca0c5d1
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 :