Explorar el Código

m68k: use a_load_const_ref in a_load_const_cgpara to utilize the recently added optimized small const loading here too. this change alone shaves off ~80KB from the compiled FP IDE size...

git-svn-id: trunk@32841 -
Károly Balogh hace 9 años
padre
commit
1e0763e251
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/m68k/cgcpu.pas

+ 1 - 1
compiler/m68k/cgcpu.pas

@@ -317,7 +317,7 @@ unit cgcpu;
 
             reference_reset_base(ref, NR_STACK_POINTER_REG, 0, cgpara.alignment);
             ref.direction := dir_dec;
-            list.concat(taicpu.op_const_ref(A_MOVE,tcgsize2opsize[pushsize],a,ref));
+            a_load_const_ref(list, pushsize, a, ref);
           end
         else
           inherited a_load_const_cgpara(list,size,a,cgpara);