move fits_u8 to integer constant (from numberic)

This commit is contained in:
Torsten Ruger
2014-09-17 16:23:29 +03:00
parent 95c7e44342
commit e7f7f9c319
6 changed files with 9 additions and 12 deletions

View File

@@ -78,7 +78,7 @@ module Arm
else
u8_imm = parts[1].to_i(2)
end
if (u8_imm.fits_u8?)
if (Virtual::IntegerConstant.new(u8_imm).fits_u8?)
# can do!
rot_imm = (pre_zeros+imm_len) / 2
if (rot_imm > 15)