Переглянути джерело

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

Nikolay Nikolov 2 роки тому
батько
коміт
f47ca0c5d1
1 змінених файлів з 2 додано та 0 видалено
  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 :