I don't seem to get these constraints right. This should fix it

This commit is contained in:
Thilo Schulz 2011-05-19 03:47:35 +00:00
parent a42239e1e5
commit b8ef880d85

View file

@ -1544,10 +1544,12 @@ int VM_CallCompiled( vm_t *vm, int *args ) {
}
#else
__asm__ volatile(
"push %%eax\r\n"
"call *%2\r\n"
"pop %%eax\r\n"
: "+S" (programStack), "+D" (opStack)
: "r" (vm->codeBase + vm->entryOfs)
: "cc", "memory", "%eax", "%ebx", "%ecx", "%edx"
: "a" (vm->codeBase + vm->entryOfs)
: "cc", "memory", "%ebx", "%ecx", "%edx"
);
#endif