X86: Get rid of the unused getAllocator on the python base microop class.
[gem5.git] / src / arch / sparc / predecoder.hh
index 38d8fd1a2bb24a9c2e05dbef111c7de309315c17..c4ab4fe7952d087716c6b20c37ce01920837f886 100644 (file)
 #ifndef __ARCH_SPARC_PREDECODER_HH__
 #define __ARCH_SPARC_PREDECODER_HH__
 
+#include "arch/sparc/registers.hh"
 #include "arch/sparc/types.hh"
+#include "base/bitfield.hh"
 #include "base/misc.hh"
+#include "base/types.hh"
 #include "cpu/thread_context.hh"
-#include "sim/host.hh"
 
 class ThreadContext;
 
@@ -65,12 +67,13 @@ namespace SparcISA
         {
         }
 
+        void reset()
+        {}
+
         //Use this to give data to the predecoder. This should be used
         //when there is control flow.
-        void moreBytes(Addr pc, Addr fetchPC, Addr off, MachInst inst)
+        void moreBytes(Addr pc, Addr fetchPC, MachInst inst)
         {
-            assert(off == 0);
-
             emi = inst;
             //The I bit, bit 13, is used to figure out where the ASI
             //should come from. Use that in the ExtMachInst. This is