Core: in CX86Ops::CX86Ops set setLogger to nullptr if not logging
This commit is contained in:
parent
9e53b161a4
commit
30090e5db7
|
@ -10,7 +10,7 @@ CX86Ops::CX86Ops(CCodeBlock & CodeBlock) :
|
|||
asmjit::x86::Assembler(&CodeBlock.CodeHolder()),
|
||||
m_CodeBlock(CodeBlock)
|
||||
{
|
||||
setLogger(this);
|
||||
setLogger(CDebugSettings::bRecordRecompilerAsm() ? this : nullptr);
|
||||
setErrorHandler(&CodeBlock);
|
||||
addFlags(asmjit::FormatFlags::kHexOffsets);
|
||||
addFlags(asmjit::FormatFlags::kHexImms);
|
||||
|
|
Loading…
Reference in New Issue