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 -
This commit is contained in:
Károly Balogh 2016-01-03 23:48:06 +00:00
parent 37cb35d780
commit 1e0763e251

View File

@ -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);