mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-18 04:54:36 +03:00
[BUG] Clear last error after X86Compiler is attached to X86Assembler (#120)
This commit is contained in:
@@ -224,6 +224,7 @@ Error X86Compiler::attach(Assembler* assembler) {
|
||||
_regSize = static_cast<uint8_t>(assembler->getRegSize());
|
||||
_regCount = static_cast<X86Assembler*>(assembler)->getRegCount();
|
||||
_finalized = false;
|
||||
// _lastError = kErrorOk;
|
||||
|
||||
zax = static_cast<X86Assembler*>(assembler)->zax;
|
||||
zcx = static_cast<X86Assembler*>(assembler)->zcx;
|
||||
|
||||
Reference in New Issue
Block a user