Skip to content

Commit

Permalink
Merge pull request #4024 from 0xdaryl/feclean
Browse files Browse the repository at this point in the history
Misc. compiler code cleanup
  • Loading branch information
vijaysun-omr authored Jun 19, 2019
2 parents 96c2e9b + 443909f commit 8367870
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 45 deletions.
4 changes: 0 additions & 4 deletions compiler/codegen/CodeGenPrep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
#include "il/AliasSetInterface.hpp"
#include "env/CompilerEnv.hpp"
#include "env/ObjectModel.hpp"
#ifdef J9_PROJECT_SPECIFIC
#include "runtime/RuntimeAssumptions.hpp"
#include "env/PersistentCHTable.hpp"
#endif
#include "env/PersistentInfo.hpp"
#include "env/TRMemory.hpp"
#include "env/jittypes.h"
Expand Down
4 changes: 0 additions & 4 deletions compiler/codegen/FrontEnd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,6 @@
#include "runtime/Runtime.hpp"
#include "env/VerboseLog.hpp"

#ifdef J9_PROJECT_SPECIFIC
#include "env/SharedCache.hpp"
#endif

class TR_Debug;
class TR_FrontEnd;
class TR_Memory;
Expand Down
30 changes: 0 additions & 30 deletions compiler/env/FEBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -90,36 +90,6 @@ char *feGetEnv(const char *s)
}


// Brought this debug stuff from Compilation.cpp
//
// Limit on the size of the debug string
//
const int indebugLimit = 1023;


// The delimiter characters
//
static const char * delimiters = " ";
// The original value of the environment variable
//
static const char *TR_DEBUGValue = 0;

// The original string with embedded nulls between individual values
//
static char permDebugString[indebugLimit + 1];
static int permDebugStrLen = 0;

struct DebugValue
{
DebugValue * next;
DebugValue *prev;
char *value;
};

static DebugValue *head = 0;



// Options stuff
#include "control/Options.hpp"
#include "control/Options_inlines.hpp"
Expand Down
3 changes: 0 additions & 3 deletions compiler/infra/Assert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@
#include "ras/Debug.hpp"
#include "stdarg.h"

#ifdef J9_PROJECT_SPECIFIC
#include "env/VMJ9.h"
#endif

void OMR_NORETURN TR::trap()
{
Expand Down
4 changes: 0 additions & 4 deletions compiler/x/codegen/OMRTreeEvaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,6 @@
#include "ras/Debug.hpp"
#include "ras/DebugCounter.hpp"
#include "runtime/Runtime.hpp"
#ifdef J9_PROJECT_SPECIFIC
#include "runtime/J9Profiler.hpp"
#include "runtime/J9ValueProfiler.hpp"
#endif
#include "x/codegen/HelperCallSnippet.hpp"
#include "x/codegen/OutlinedInstructions.hpp"
#include "x/codegen/RegisterRematerialization.hpp"
Expand Down

0 comments on commit 8367870

Please sign in to comment.