Explorar o código

* fixed load/store LLVM-MC asm output for global variables

git-svn-id: branches/wasm@47165 -
nickysn %!s(int64=5) %!d(string=hai) anos
pai
achega
8494283925
Modificáronse 1 ficheiros con 1 adicións e 6 borrados
  1. 1 6
      compiler/wasm32/agllvmmc.pas

+ 1 - 6
compiler/wasm32/agllvmmc.pas

@@ -297,12 +297,7 @@ implementation
           for i:=0 to cpu.ops-1 do
             begin
               writer.AsmWrite(#9);
-
-              if (cpu.opcode in AsmOp_LoadStore) and (cpu.oper[i]^.typ = top_ref) then
-                writer.AsmWrite('offset='+tostr( cpu.oper[i]^.ref^.offset))
-              else
-                writer.AsmWrite(getopstr(cpu.oper[i]^));
-
+              writer.AsmWrite(getopstr(cpu.oper[i]^));
             end;
         end;