Pārlūkot izejas kodu

+ declare the stack pointer global type

git-svn-id: branches/wasm@46997 -
nickysn 5 gadi atpakaļ
vecāks
revīzija
0a5655955c
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      compiler/wasm32/agllvmmc.pas

+ 1 - 0
compiler/wasm32/agllvmmc.pas

@@ -133,6 +133,7 @@ implementation
       { print all global procedures/functions }
       WriteSymtableProcdefs(current_module.globalsymtable);
       WriteSymtableProcdefs(current_module.localsymtable);
+      writer.AsmWriteLn(#9'.globaltype'#9+STACK_POINTER_SYM+', i32');
     end;