diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-02-10 14:38:15 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-02-10 14:38:15 -0500 |
commit | a86a3fa525caa3f063e94a042545131c7e61d5b6 (patch) | |
tree | b5ade6e99258d47d57209bf84914b9c2acc2f5c4 /cpu/o3/inst_queue_impl.hh | |
parent | fb90b1dd13fb6c0090bfe2731ca9ccee56479761 (diff) | |
parent | fb7899aa681001d2af7837eae7bf0e19fd3e1b02 (diff) | |
download | gem5-a86a3fa525caa3f063e94a042545131c7e61d5b6.tar.xz |
Merge zizzer:/bk/m5
into udhcp-macvpn-776.public.engin.umich.edu:/Users/ali/work/m5.head
--HG--
extra : convert_revision : e9ffaa1d4b7eee1f5bd0c492e162aac1e0806099
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) |