Переглянути джерело

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 9 роки тому
батько
коміт
1e0763e251
1 змінених файлів з 1 додано та 1 видалено
  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);
             reference_reset_base(ref, NR_STACK_POINTER_REG, 0, cgpara.alignment);
             ref.direction := dir_dec;
             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
           end
         else
         else
           inherited a_load_const_cgpara(list,size,a,cgpara);
           inherited a_load_const_cgpara(list,size,a,cgpara);