Improve performance for branchy code
[riscv-isa-sim.git] / riscv / htif.h
index 2a940ade707947d25af27a0be9146bca11741b0b..4e1025e7b5e94e4986475fc9c7c79cd1113fad41 100644 (file)
@@ -18,6 +18,7 @@ class htif_isasim_t : public htif_pthread_t
 public:
   htif_isasim_t(sim_t* _sim, const std::vector<std::string>& args);
   bool tick();
+  bool done();
 
 private:
   sim_t* sim;
@@ -25,7 +26,6 @@ private:
   uint8_t seqno;
 
   void tick_once();
-  bool done();
 };
 
 #endif