- minor optimizations

- we push only the required registers



git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@53 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
stefan 2010-08-09 17:49:18 +00:00
parent ea6658a2ab
commit a3c5f8f5b8

View file

@ -501,7 +501,9 @@ extern scheduler
global reschedule
reschedule:
cli
pusha
; eax could change across a function call
; => we have not to save the original eax value
push ebx
push DWORD [current_task]
call scheduler
@ -519,7 +521,7 @@ hack1:
jmp 0x00 : 0xDEADBEAF
no_task_switch1:
popa
pop ebx
sti
ret