ruby: strip out some unused defines
This commit is contained in:
@@ -68,9 +68,7 @@ WHITESPACE [ \t]
|
||||
|
||||
%{
|
||||
|
||||
#ifdef IS_RUBY
|
||||
#include "Global.hh"
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
#include <string>
|
||||
|
||||
@@ -65,9 +65,7 @@
|
||||
/* Includes */
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef IS_RUBY
|
||||
#include "Global.hh"
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
#include <string>
|
||||
|
||||
@@ -34,18 +34,8 @@
|
||||
/* Includes */
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef IS_OPAL
|
||||
#include "hfa.hh"
|
||||
#endif
|
||||
|
||||
#ifdef IS_RUBY
|
||||
#include "Global.hh"
|
||||
#define SIM_HALT ASSERT(0)
|
||||
#endif
|
||||
|
||||
#ifdef IS_TOURMALINE
|
||||
#include "Tourmaline_Global.hh"
|
||||
#endif
|
||||
|
||||
using namespace std;
|
||||
#include <string>
|
||||
|
||||
@@ -72,18 +72,7 @@ using namespace std;
|
||||
|
||||
#include "FakeSimicsDataTypes.hh"
|
||||
|
||||
#ifdef IS_OPAL
|
||||
#include "hfatypes.hh"
|
||||
#include "debugio.hh"
|
||||
#endif
|
||||
|
||||
#ifdef IS_RUBY
|
||||
#include "Global.hh"
|
||||
#endif
|
||||
|
||||
#ifdef IS_TOURMALINE
|
||||
#include "Tourmaline_Global.hh"
|
||||
#endif
|
||||
|
||||
#include "confio.hh"
|
||||
#include "initvar.hh"
|
||||
|
||||
@@ -191,9 +191,6 @@ void init_simulator()
|
||||
g_eventQueue_ptr = NULL;
|
||||
|
||||
cout << "Ruby Timing Mode" << endl;
|
||||
#ifndef MULTIFACET_NO_OPT_WARN
|
||||
cerr << "Warning: optimizations not enabled." << endl;
|
||||
#endif
|
||||
|
||||
if (g_SIMICS) {
|
||||
// LUKE - if we don't set the default SMT threads in condor scripts,
|
||||
|
||||
Reference in New Issue
Block a user