Explorar el Código

* fixed a_load_reg_ref: the store size has to depend on the tosize,
not on the fromsize (fixes webtbs/tw10072, and hopefully also
resolves mantis #8121)

git-svn-id: trunk@9037 -

Jonas Maebe hace 18 años
padre
commit
ad5ce1adf4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/sparc/cgcpu.pas

+ 1 - 1
compiler/sparc/cgcpu.pas

@@ -489,7 +489,7 @@ implementation
           end
         else
           begin
-            case fromsize of
+            case tosize of
               { signed integer registers }
               OS_8,
               OS_S8: