Browse Source

- don't preserve edx and ecx in GetPixel320, because they don't need to be preserved in GetPixel320

git-svn-id: trunk@41115 -
nickysn 6 years ago
parent
commit
45ea95b72e
1 changed files with 0 additions and 4 deletions
  1. 0 4
      packages/graph/src/go32v2/graph.pp

+ 0 - 4
packages/graph/src/go32v2/graph.pp

@@ -2322,8 +2322,6 @@ End;
     {# Var X located in register ax
     {# Var X located in register ax
      # Var Y located in register dx }
      # Var Y located in register dx }
     push ebx
     push ebx
-    push ecx
-    push edx
     push edi
     push edi
     movsx  edi, ax
     movsx  edi, ax
     movsx  ebx, dx
     movsx  ebx, dx
@@ -2335,8 +2333,6 @@ End;
     add    edi, ebx
     add    edi, ebx
     movzx  eax, byte ptr fs:[edi+ebx*4+$a0000]
     movzx  eax, byte ptr fs:[edi+ebx*4+$a0000]
     pop edi
     pop edi
-    pop edx
-    pop ecx
     pop ebx
     pop ebx
   end;
   end;