diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-02-10 20:06:44 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-02-10 20:06:44 -0500 |
commit | f2e97427be8e0787301ac83b05a7cac2bf2424db (patch) | |
tree | e71d068328bbee0959577220ebc614f9daa2d71a /cpu/o3/inst_queue_impl.hh | |
parent | 3923eec0ef46dd1ce7ed2ef0cbc68419a0161796 (diff) | |
parent | ac6240896e26dd709dc17298ba093d32860b947f (diff) | |
download | gem5-f2e97427be8e0787301ac83b05a7cac2bf2424db.tar.xz |
Merge zizzer:/bk/m5
into pb15.local:/Users/ali/work/m5.head
--HG--
extra : convert_revision : b8631bcea38e3a75e4442927500ddfc7763ba9cf
Diffstat (limited to 'cpu/o3/inst_queue_impl.hh')
-rw-r--r-- | cpu/o3/inst_queue_impl.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpu/o3/inst_queue_impl.hh b/cpu/o3/inst_queue_impl.hh index 2221ba456..048dc7c00 100644 --- a/cpu/o3/inst_queue_impl.hh +++ b/cpu/o3/inst_queue_impl.hh @@ -34,6 +34,7 @@ // but probably is more flexible to actually add in a delay parameter than // just running it backwards. +#include <limits> #include <vector> #include "sim/root.hh" @@ -42,7 +43,7 @@ // Either compile error or max int due to sign extension. // Hack to avoid compile warnings. -const InstSeqNum MaxInstSeqNum = 0 - 1; +const InstSeqNum MaxInstSeqNum = std::numeric_limits<InstSeqNum>::max(); template <class Impl> InstructionQueue<Impl>::InstructionQueue(Params ¶ms) |