mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-14 14:59:32 +02:00
- don't save/restore eax and ecx in PutPixel320, because they don't need to be preserved by the register calling convention
git-svn-id: trunk@41110 -
This commit is contained in:
parent
1371a5a8ed
commit
23aec76ae1
@ -2288,9 +2288,7 @@ End;
|
||||
{# Var X located in register ax
|
||||
# Var Y located in register dx
|
||||
# Var Pixel located in register cx }
|
||||
push eax
|
||||
push ebx
|
||||
push ecx
|
||||
push edi
|
||||
movsx edi, ax
|
||||
movsx ebx, dx
|
||||
@ -2315,9 +2313,7 @@ End;
|
||||
mov fs:[edi+ebx*4+$a0000], al
|
||||
@putpix320done:
|
||||
pop edi
|
||||
pop ecx
|
||||
pop ebx
|
||||
pop eax
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user