Explorar el Código

+ declare the stack pointer global type

git-svn-id: branches/wasm@46997 -
nickysn hace 5 años
padre
commit
0a5655955c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;