瀏覽代碼

+ declare the stack pointer global type

git-svn-id: branches/wasm@46997 -
nickysn 4 年之前
父節點
當前提交
0a5655955c
共有 1 個文件被更改,包括 1 次插入0 次删除
  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;