From 06f1dbb32d31c20336e91401f850c230cf243ec5 Mon Sep 17 00:00:00 2001 From: kobalicek Date: Sun, 9 Nov 2014 15:43:35 +0100 Subject: [PATCH] Fixed a bug caused by refactoring and improper testing (32-bit build affected only). --- src/asmjit/x86/x86compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asmjit/x86/x86compiler.cpp b/src/asmjit/x86/x86compiler.cpp index ec6196f..424188a 100644 --- a/src/asmjit/x86/x86compiler.cpp +++ b/src/asmjit/x86/x86compiler.cpp @@ -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.