Fixed Issue #114

This commit is contained in:
kobalicek 2015-11-30 10:00:37 +01:00
parent a910f05c66
commit 6758955e8c

View File

@ -328,8 +328,7 @@ static Error X86FuncDecl_initFunc(X86FuncDecl* self, uint32_t arch,
int32_t gpPos = 0;
int32_t xmmPos = 0;
int32_t stackOffset = 0;
const uint8_t* varMapping;
const uint8_t* varMapping = NULL;
#if defined(ASMJIT_BUILD_X86)
if (arch == kArchX86)
@ -341,6 +340,7 @@ static Error X86FuncDecl_initFunc(X86FuncDecl* self, uint32_t arch,
varMapping = _x64VarMapping;
#endif // ASMJIT_BUILD_X64
ASMJIT_ASSERT(varMapping != NULL);
self->_argCount = static_cast<uint8_t>(argCount);
self->_retCount = 0;