diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2012-04-15 01:07:39 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2012-04-15 01:07:39 -0700 |
commit | 8fe112d61b08b83b6b7f27daa9daaa521e67deaf (patch) | |
tree | b91761247e4106f0ed4d6807bcbe17f5a6bb6b7b /src/arch/x86/insts | |
parent | aacb676220ac1e6049304bef31a39090487da71e (diff) | |
download | gem5-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.
Diffstat (limited to 'src/arch/x86/insts')
-rw-r--r-- | src/arch/x86/insts/microldstop.hh | 2 |
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), |