summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2012-04-15 01:07:39 -0700
committerGabe Black <gblack@eecs.umich.edu>2012-04-15 01:07:39 -0700
commit8fe112d61b08b83b6b7f27daa9daaa521e67deaf (patch)
treeb91761247e4106f0ed4d6807bcbe17f5a6bb6b7b
parentaacb676220ac1e6049304bef31a39090487da71e (diff)
downloadgem5-8fe112d61b08b83b6b7f27daa9daaa521e67deaf.tar.xz
X86: Fix a tiny typo in the load/store microop constructor.
The parameter is _machInst, which is very similar to the member machInst. If machInst is used to pass the parameter to a lower level constructor, what really happens is that machInst is set to whatever it already happened to be, effectively leaving it uninitialized.
-rw-r--r--src/arch/x86/insts/microldstop.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/insts/microldstop.hh b/src/arch/x86/insts/microldstop.hh
index c618bc128..4d96c0ec0 100644
--- a/src/arch/x86/insts/microldstop.hh
+++ b/src/arch/x86/insts/microldstop.hh
@@ -82,7 +82,7 @@ namespace X86ISA
uint8_t _dataSize, uint8_t _addressSize,
Request::FlagsType _memFlags,
OpClass __opClass) :
- X86MicroopBase(machInst, mnem, _instMnem, setFlags, __opClass),
+ X86MicroopBase(_machInst, mnem, _instMnem, setFlags, __opClass),
scale(_scale), index(_index.idx), base(_base.idx),
disp(_disp), segment(_segment.idx),
data(_data.idx),