mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 505034 - Compiling Nativei386.cpp on MinGW fails because of different syntax of inline asm. r=graydon
This commit is contained in:
parent
a6baa84f77
commit
8991f44a3c
@ -312,7 +312,7 @@ namespace nanojit
|
||||
{
|
||||
Register r;
|
||||
RegAlloc ®s = _allocator;
|
||||
#ifdef WIN32
|
||||
#ifdef _MSC_VER
|
||||
_asm
|
||||
{
|
||||
mov ecx, regs
|
||||
@ -326,7 +326,7 @@ namespace nanojit
|
||||
"btr %%eax, %2\n\t"
|
||||
"movl %%eax, %0\n\t"
|
||||
: "=m"(r) : "m"(set), "m"(regs.free) : "%eax", "memory" );
|
||||
#endif /* WIN32 */
|
||||
#endif /* _MSC_VER */
|
||||
return r;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user