ruby: set: corrects csprintf() call introduced by 7d95b650c9b6
[gem5.git] / src / sim / arguments.cc
index 5aa57755a87ec72d0b9dc4684b64688851c14a24..6d45e3b3d4b78bc5946e5bdd4a15f043145c6876 100644 (file)
  * Authors: Nathan Binkert
  */
 
-#include "sim/arguments.hh"
 #include "arch/utility.hh"
+#include "config/the_isa.hh"
 #include "cpu/thread_context.hh"
-
-using namespace TheISA;
+#include "sim/arguments.hh"
 
 Arguments::Data::~Data()
 {
@@ -51,8 +50,8 @@ Arguments::Data::alloc(size_t size)
 }
 
 uint64_t
-Arguments::getArg(bool fp)
+Arguments::getArg(uint16_t size, bool fp)
 {
-    return TheISA::getArgument(tc, number, fp);
+    return TheISA::getArgument(tc, number, size, fp);
 }