small optimization

git-svn-id: svn://kolibrios.org@254 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge)
2006-12-29 07:12:27 +00:00
parent d40f7261aa
commit f5b902bbee
5 changed files with 5 additions and 10 deletions

View File

@@ -44,8 +44,7 @@ proc alloc_event
btr [ebx], eax
mov [event_start],ebx
sub ebx, event_map
shl ebx, 3
add eax,ebx
lea eax,[eax+ebx*8]
shl eax,5
add eax, [events]
popfd