dll.inc clean up
git-svn-id: svn://kolibrios.org@5940 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
eb687aadb4
commit
00c9a2265f
@ -122,17 +122,8 @@ endp
|
||||
proc mem.ReAlloc, mptr, size
|
||||
push ebx ecx edx
|
||||
mov ecx, [size]
|
||||
or ecx, ecx
|
||||
jz @f
|
||||
@@:
|
||||
mov edx, [mptr]
|
||||
or edx, edx
|
||||
jz @f
|
||||
@@:
|
||||
mcall 68, 20
|
||||
or eax, eax
|
||||
jz @f
|
||||
@@:
|
||||
pop edx ecx ebx
|
||||
ret
|
||||
endp
|
||||
@ -140,9 +131,6 @@ endp
|
||||
proc mem.Free, mptr
|
||||
push ebx ecx
|
||||
mov ecx,[mptr]
|
||||
or ecx,ecx
|
||||
jz @f
|
||||
@@:
|
||||
mcall 68, 13
|
||||
pop ecx ebx
|
||||
ret
|
||||
|
Loading…
Reference in New Issue
Block a user