Ver código fonte

* WebAssembly threads default maxheapsize constant changed to more readable form - 256*1024*1024 instead of 268435456

Nikolay Nikolov 11 meses atrás
pai
commit
4527365f0d
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      compiler/parser.pas

+ 1 - 1
compiler/parser.pas

@@ -202,7 +202,7 @@ implementation
            system_wasm32_wasi:
            system_wasm32_wasi:
              begin
              begin
                if ts_wasm_threads in init_settings.targetswitches then
                if ts_wasm_threads in init_settings.targetswitches then
-                 maxheapsize:=268435456
+                 maxheapsize:=256*1024*1024
                else
                else
                  maxheapsize:=0;
                  maxheapsize:=0;
              end;
              end;