summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-03-21 19:15:40 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-03-21 19:15:40 +0000
commit3efec59fc55a439353adbd859722d8a5d170c18d (patch)
tree78afde8886c1d3c184752ca47f416d1e50ddb8b5 /src/base
parent076fd9a707a2c5bc019bdf5eafeb9ca8271e28c4 (diff)
downloadgem5-3efec59fc55a439353adbd859722d8a5d170c18d.tar.xz
Missed a const
--HG-- rename : src/arch/x86/isa/decoder.isa => src/arch/x86/isa/decoder/decoder.isa extra : convert_revision : a60e7495da6fe99fa2375a3f801f2962c3e41adb
Diffstat (limited to 'src/base')
-rw-r--r--src/base/bitfield.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/bitfield.hh b/src/base/bitfield.hh
index ca0c06770..69cce2245 100644
--- a/src/base/bitfield.hh
+++ b/src/base/bitfield.hh
@@ -157,7 +157,7 @@ namespace BitfieldBackend
//responsibility to make sure that there is a properly overloaded
//version of this function for whatever type they want to overlay.
inline uint64_t
- getBits(int first, int last)
+ getBits(int first, int last) const
{
return bits(__data, first, last);
}