Parcourir la source

+ declare the stack pointer global type

git-svn-id: branches/wasm@46997 -
nickysn il y a 5 ans
Parent
commit
0a5655955c
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;