asmjit: mame changes (nw)

This commit is contained in:
Patrick Mackinlay 2020-06-12 12:01:44 +07:00
parent 19214dd8e6
commit c70d979b7e
2 changed files with 3 additions and 1 deletions

View file

@ -139,6 +139,8 @@ namespace asmjit {
// [asmjit::Options]
// ============================================================================
#define ASMJIT_STATIC
// ASMJIT_NO_BUILDER implies ASMJIT_NO_COMPILER.
#if defined(ASMJIT_NO_BUILDER) && !defined(ASMJIT_NO_COMPILER)
#define ASMJIT_NO_COMPILER

View file

@ -553,7 +553,7 @@ Error BaseCompiler::emitAnnotatedJump(uint32_t instId, const Operand_& o0, JumpA
resetInlineComment();
resetExtraReg();
JumpNode* node;
JumpNode* node = nullptr;
ASMJIT_PROPAGATE(newJumpNode(&node, instId, options, o0, annotation));
node->setExtraReg(extra);