diff --git a/src/asmjit/base/compiler.cpp b/src/asmjit/base/compiler.cpp index 8835fd7..7576418 100644 --- a/src/asmjit/base/compiler.cpp +++ b/src/asmjit/base/compiler.cpp @@ -450,7 +450,7 @@ Error Compiler::comment(const char* fmt, ...) { Error Compiler::_hint(Var& var, uint32_t hint, uint32_t value) { if (var.getId() == kInvalidValue) - return NULL; + return kErrorOk; HLHint* node = newHintNode(var, hint, value); if (node == NULL) diff --git a/src/asmjit/x86/x86inst.h b/src/asmjit/x86/x86inst.h index f5683e9..feb4096 100644 --- a/src/asmjit/x86/x86inst.h +++ b/src/asmjit/x86/x86inst.h @@ -1989,7 +1989,7 @@ ASMJIT_ENUM(X86Round) { //! Round control - round toward zero (truncate). kX86RoundTrunc = 0x3, //! Rounding select - if set it will use the the current rounding mode - //! according to MXCS and ignore the round control (RC) bits. + //! according to MXCS and ignore the round control (RC) bits. kX86RoundCurrent = 0x4, //! Precision mask - if set it avoids an inexact exception. kX86RoundInexact = 0x8