summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas@sandberg.pp.se>2013-09-18 17:08:35 +0200
committerAndreas Sandberg <andreas@sandberg.pp.se>2013-09-18 17:08:35 +0200
commit4dbf25adc379d589c2aad9e62527d47a2ba62553 (patch)
tree4beb057314511609ee55eb76776fd59a5594c06f /src/arch
parent9aa939891f9d8250dde552638bb03d3f3b6ba268 (diff)
downloadgem5-4dbf25adc379d589c2aad9e62527d47a2ba62553.tar.xz
sim: Fix undefined behavior in the pseudo-inst interface
The order between updating and using arg_num in PseudoInst::pseudoInst() is currently undefined. This changeset explicitly updates arg_num after it has been used to extract an argument. --HG-- extra : rebase_source : 67c46dc3333d16ce56687ee8aea41ce6c6d133bb
Diffstat (limited to 'src/arch')
0 files changed, 0 insertions, 0 deletions