diff options
author | MITSUNARI Shigeo <[email protected]> | 2015-08-16 06:51:41 +0900 |
---|---|---|
committer | MITSUNARI Shigeo <[email protected]> | 2015-08-16 06:51:45 +0900 |
commit | 7a1ea1ed486398f3ebf95c3d3b90734404f929ef (patch) | |
tree | d1fc33dd6cad2362da69944ec4756edd1a36dea5 | |
parent | f03bbc298d20c4831b7bfb23ea9378b84349a9ea (diff) | |
download | xbyak-7a1ea1ed486398f3ebf95c3d3b90734404f929ef.tar.gz xbyak-7a1ea1ed486398f3ebf95c3d3b90734404f929ef.zip |
fix error code
-rw-r--r-- | xbyak/xbyak.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h index 84eb27f..17b752b 100644 --- a/xbyak/xbyak.h +++ b/xbyak/xbyak.h @@ -1866,7 +1866,7 @@ public: } else if (op.isMEM()) { opModM(static_cast<const Address&>(op), Reg(0, Operand::REG, op.getBit()), B11000110); int size = op.getBit() / 8; if (size > 4) size = 4; - if (0xffffffff < imm && imm <= ~uint64(0x7fffffffu)) throw Error(ERR_OFFSET_IS_TOO_BIG); + if (0xffffffff < imm && imm <= ~uint64(0x7fffffffu)) throw Error(ERR_IMM_IS_TOO_BIG); db(static_cast<uint32>(imm), size); } else { throw Error(ERR_BAD_COMBINATION); |