Fixed basic block epilogue/prologue portability

git-svn-id: http://svn.purei.org/purei/trunk@210 b36208d7-6611-0410-8bec-b1987f11c4a2
This commit is contained in:
jpd002 2007-12-28 03:00:42 +00:00
parent ebd2df89b9
commit 0bcb2e9108

View File

@ -62,13 +62,23 @@ unsigned int CBasicBlock::Execute()
__asm __asm
{ {
pusha push ebx
push ecx
push edx
push esi
push edi
push ebp
mov eax, function mov eax, function
mov ebp, context mov ebp, context
call eax call eax
popa pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
} }
// asm("pushl %%ebx\n\t" // asm("pushl %%ebx\n\t"