bit_val was being used directly in the statement in return. If type B had fewer bits...
authorAli Saidi <saidi@eecs.umich.edu>
Wed, 9 May 2007 16:01:31 +0000 (12:01 -0400)
committerAli Saidi <saidi@eecs.umich.edu>
Wed, 9 May 2007 16:01:31 +0000 (12:01 -0400)
commitee70d8cfc430e38b84945e8b9ea870585b98f87c
tree0723e90ec3db2aeb3c0994abdceeaaa3fd5d3add
parent8d56145d7b6f759456993b63692165d4b510adda
bit_val was being used directly in the statement in return. If type B had fewer bits than last, bit_val << last would get the wrong answer.

src/base/bitfield.hh:
    bit_val was being used directly in the statement in
    return. If type B had fewer bits than last, bit_val << last would get
    the wrong answer.

--HG--
extra : convert_revision : cbc43ccd139f82ebbd65f30af5d05b87c4edac64
src/base/bitfield.hh