summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Andreenko <seandree@microsoft.com>2019-05-15 15:13:41 -0700
committerSergey Andreenko <seandree@microsoft.com>2019-05-15 15:13:41 -0700
commit02fb10d98332dd2b560df2c74ee1c6e7bf89ee9b (patch)
tree8d4ec15d612979fa726aec971976112a747bf0b0
parent24cdacaeb1e42a92051b32a6c4051b7a12ff2770 (diff)
downloadcoreclr-02fb10d98332dd2b560df2c74ee1c6e7bf89ee9b.tar.gz
coreclr-02fb10d98332dd2b560df2c74ee1c6e7bf89ee9b.tar.bz2
coreclr-02fb10d98332dd2b560df2c74ee1c6e7bf89ee9b.zip
delete JitOptions struct.
That was an old struct and probably nobody remembers how it was supposed to be used.
-rw-r--r--src/jit/codegenxarch.cpp9
-rw-r--r--src/jit/ee_il_dll.cpp15
-rw-r--r--src/jit/jit.h13
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);