From 23aec76ae1b6f5358a7932c237283be9035d1789 Mon Sep 17 00:00:00 2001
From: nickysn <nickysn@gmail.com>
Date: Tue, 29 Jan 2019 13:05:12 +0000
Subject: [PATCH] - 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 -
---
 packages/graph/src/go32v2/graph.pp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/packages/graph/src/go32v2/graph.pp b/packages/graph/src/go32v2/graph.pp
index 62efece5aa..11d888ede2 100644
--- a/packages/graph/src/go32v2/graph.pp
+++ b/packages/graph/src/go32v2/graph.pp
@@ -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;