فهرست منبع

* write the .globaltype directive and the imports in the beginning of the
assembly file, because that appears to be required by llvm-mc from git

Nikolay Nikolov 3 سال پیش
والد
کامیت
d8665f8a51
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      compiler/wasm32/agllvmmc.pas

+ 2 - 2
compiler/wasm32/agllvmmc.pas

@@ -153,10 +153,10 @@ implementation
 
   procedure TLLVMMachineCodePlaygroundAssembler.WriteAsmList;
     begin
-      inherited;
-      { print all global procedures/functions }
       writer.AsmWriteLn(#9'.globaltype'#9+STACK_POINTER_SYM+', i32');
+      { print all global procedures/functions }
       WriteImports;
+      inherited;
     end;