diff options
-rw-r--r-- | src/jit/codegenxarch.cpp | 9 | ||||
-rw-r--r-- | src/jit/ee_il_dll.cpp | 15 | ||||
-rw-r--r-- | src/jit/jit.h | 13 |
3 files changed, 0 insertions, 37 deletions
diff --git a/src/jit/codegenxarch.cpp b/src/jit/codegenxarch.cpp index de0f4d8d69..2c04b380f2 100644 --- a/src/jit/codegenxarch.cpp +++ b/src/jit/codegenxarch.cpp @@ -8485,15 +8485,6 @@ void* CodeGen::genCreateAndStoreGCInfoJIT32(unsigned codeSize, } } -#ifdef DEBUG - if (jitOpts.testMask & 128) - { - for (unsigned offs = 0; offs < codeSize; offs++) - { - gcInfo.gcFindPtrsInFrame(infoPtr, codePtr, offs); - } - } -#endif // DEBUG #endif // DUMP_GC_TABLES /* Make sure we ended up generating the expected number of bytes */ diff --git a/src/jit/ee_il_dll.cpp b/src/jit/ee_il_dll.cpp index c5d499f3e0..10afb50065 100644 --- a/src/jit/ee_il_dll.cpp +++ b/src/jit/ee_il_dll.cpp @@ -43,21 +43,6 @@ HINSTANCE g_hInst = nullptr; /*****************************************************************************/ -#ifdef DEBUG - -JitOptions jitOpts = { - nullptr, // methodName - nullptr, // className - 0.1, // CGknob - 0, // testMask - - (JitOptions*)nullptr // lastDummyField. -}; - -#endif // DEBUG - -/*****************************************************************************/ - extern "C" DLLEXPORT void __stdcall jitStartup(ICorJitHost* jitHost) { if (g_jitInitialized) diff --git a/src/jit/jit.h b/src/jit/jit.h index 5157d66e98..acc2c0d42b 100644 --- a/src/jit/jit.h +++ b/src/jit/jit.h @@ -596,19 +596,6 @@ const bool dspGCtbls = true; #ifdef DEBUG -struct JitOptions -{ - const char* methodName; // Method to display output for - const char* className; // Class to display output for - - double CGknob; // Tweakable knob for testing - unsigned testMask; // Tweakable mask for testing - - JitOptions* lastDummyField; // Ensures instantiation uses right order of arguments -}; - -extern JitOptions jitOpts; - // Forward declarations for UninitializedWord and IsUninitialized are needed by alloc.h template <typename T> inline T UninitializedWord(Compiler* comp); |