Browse Source

* set the stack size to 64kb and stack align to 16 bytes for the wasm32-embedded target

Nikolay Nikolov 3 năm trước cách đây
mục cha
commit
8aee781950
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      compiler/systems/i_embed.pas

+ 2 - 2
compiler/systems/i_embed.pas

@@ -916,8 +916,8 @@ unit i_embed;
                 maxCrecordalign : 4
               );
             first_parm_offset : 0;
-            stacksize   : 262144;
-            stackalign   : 4;
+            stacksize   : 65536;
+            stackalign   : 16;
             abi          : abi_default;
             llvmdatalayout : 'todo';
           );