* rtl/m68k/m68k.inc, move:

add a check for "count = 0" which happens e.g. inside of System.Assign if called with '' as filename (which is the case inside OpenStdIO)

git-svn-id: trunk@22841 -
This commit is contained in:
svenbarth 2012-10-24 05:03:08 +00:00
parent 842bb90283
commit 58d9b0853c

View File

@ -249,6 +249,8 @@ begin
asm
clr.l d0
move.l 16(a6),d0 { number of bytes }
tst.l d0 { anything to copy at all? }
beq @LMOVE5
@LMOVE0:
move.l 12(a6),a1 { destination }
move.l 8(a6),a0 { source }