diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:34 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:34 -0400 |
commit | 2a59fcfbe9f4d68bfe3dcb263acf68b998e0705c (patch) | |
tree | fa977d636015d5b588be07ad818bd50fb3aa2b55 /src/cpu/inorder/inorder_dyn_inst.hh | |
parent | d4b4ef13249f78714f5507ea6353d64b44ff8b25 (diff) | |
download | gem5-2a59fcfbe9f4d68bfe3dcb263acf68b998e0705c.tar.xz |
inorder: update support for branch delay slots
Diffstat (limited to 'src/cpu/inorder/inorder_dyn_inst.hh')
-rw-r--r-- | src/cpu/inorder/inorder_dyn_inst.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cpu/inorder/inorder_dyn_inst.hh b/src/cpu/inorder/inorder_dyn_inst.hh index 1ef2b2af4..ff60120a3 100644 --- a/src/cpu/inorder/inorder_dyn_inst.hh +++ b/src/cpu/inorder/inorder_dyn_inst.hh @@ -988,11 +988,13 @@ class InOrderDynInst : public FastAlloc, public RefCounted /** Iterator pointing to this BaseDynInst in the list of all insts. */ ListIt instListIt; + bool onInstList; + /** Returns iterator to this instruction in the list of all insts. */ ListIt getInstListIt() { return instListIt; } /** Sets iterator for this instruction in the list of all insts. */ - void setInstListIt(ListIt _instListIt) { instListIt = _instListIt; } + void setInstListIt(ListIt _instListIt) { onInstList = true; instListIt = _instListIt; } /** Count of total number of dynamic instructions. */ static int instcount; |