mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 04:24:37 +03:00
Fixed a bug caused by refactoring and improper testing (32-bit build affected only).
This commit is contained in:
@@ -448,7 +448,7 @@ static Error X86FuncDecl_initFunc(X86FuncDecl* self, uint32_t arch,
|
||||
continue;
|
||||
|
||||
arg._regIndex = self->_passedOrderGp[gpPos++];
|
||||
self->_used.add(kX86RegClassGp, IntUtil::mask(arg.getRegIndex()));
|
||||
self->_used.or_(kX86RegClassGp, IntUtil::mask(arg.getRegIndex()));
|
||||
}
|
||||
|
||||
// Stack arguments.
|
||||
|
||||
Reference in New Issue
Block a user