diff --git a/src/coreclr/scripts/superpmi.py b/src/coreclr/scripts/superpmi.py
index ac455fb6552..bc8d75c6b97 100755
--- a/src/coreclr/scripts/superpmi.py
+++ b/src/coreclr/scripts/superpmi.py
@@ -3158,4 +3158,4 @@ def main(args):
if __name__ == "__main__":
args = parser.parse_args()
- sys.exit(main(args))
+ sys.exit(main(args))
\ No newline at end of file
diff --git a/src/coreclr/src/jit/gentree.h b/src/coreclr/src/jit/gentree.h
index a369a79a440..687a27134af 100644
--- a/src/coreclr/src/jit/gentree.h
+++ b/src/coreclr/src/jit/gentree.h
@@ -32,8 +32,7 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
// Debugging GenTree is much easier if we add a magic virtual function to make the debugger able to figure out what type
// it's got. This is enabled by default in DEBUG. To enable it in RET builds (temporarily!), you need to change the
// build to define DEBUGGABLE_GENTREE=1, as well as pass /OPT:NOICF to the linker (or else all the vtables get merged,
-// making the debugging value supplied by them useless). See protojit.nativeproj for a commented example of setting the
-// build flags correctly.
+// making the debugging value supplied by them useless).
#ifndef DEBUGGABLE_GENTREE
#ifdef DEBUG
#define DEBUGGABLE_GENTREE 1
diff --git a/src/coreclr/src/zap/zapper.cpp b/src/coreclr/src/zap/zapper.cpp
index f232719b8d4..c2e7308b721 100644
--- a/src/coreclr/src/zap/zapper.cpp
+++ b/src/coreclr/src/zap/zapper.cpp
@@ -620,7 +620,27 @@ void Zapper::InitEE(BOOL fForceDebug, BOOL fForceProfile, BOOL fForceInstrument)
if (altName == NULL)
{
- altName = MAKEDLLNAME_W(W("protojit"));
+ #ifdef TARGET_WINDOWS
+#ifdef TARGET_X86
+ altName = MAKEDLLNAME_W(W("clrjit_win_x86_x86"));
+#elif defined(TARGET_AMD64)
+ altName = MAKEDLLNAME_W(W("clrjit_win_x64_x64"));
+#elif defined(TARGET_ARM)
+ altName = MAKEDLLNAME_W(W("clrjit_win_arm_arm"));
+#elif defined(TARGET_ARM64)
+ altName = MAKEDLLNAME_W(W("clrjit_win_arm64_arm64"));
+#endif
+#else // TARGET_WINDOWS
+#ifdef TARGET_X86
+ altName = MAKEDLLNAME_W(W("clrjit_unix_x86_x86"));
+#elif defined(TARGET_AMD64)
+ altName = MAKEDLLNAME_W(W("clrjit_unix_x64_x64"));
+#elif defined(TARGET_ARM)
+ altName = MAKEDLLNAME_W(W("clrjit_unix_arm_arm"));
+#elif defined(TARGET_ARM64)
+ altName = MAKEDLLNAME_W(W("clrjit_unix_arm64_arm64"));
+#endif
+#endif // TARGET_WINDOWS
}
LoadAndInitializeJITForNgen(altName, &m_hAltJITCompiler, &m_alternateJit);
diff --git a/src/coreclr/tests/protononjit_testenv.cmd b/src/coreclr/tests/protononjit_testenv.cmd
deleted file mode 100644
index bba0b6738c9..00000000000
--- a/src/coreclr/tests/protononjit_testenv.cmd
+++ /dev/null
@@ -1,52 +0,0 @@
-@REM -------------------------------------------------------------------------
-@REM
-@REM This script provides test environment settings for prototype/cross-targeting JITs.
-@REM
-@REM -------------------------------------------------------------------------
-
-set COMPLUS_AltJit=*
-set COMPLUS_AltJitNgen=*
-set COMPLUS_AltJitName=protononjit.dll
-set COMPLUS_NoGuiOnAssert=1
-set COMPLUS_AltJitAssertOnNYI=1
-
-@REM -------------------------------------------------------------------------
-@REM A JitFuncInfoLogFile is a per-function record of which functions were
-@REM compiled, and what asserts and NYI were hit.
-@REM
-@REM If you wish to collect FuncInfo, choose one of the following collection
-@REM methods to use, by uncommenting the appropriate option.
-
-@REM Option 1: collect a single FuncInfoLogFile for all tests.
-@REM TO DO: set a single, fully-qualified pathname here.
-@REM ==== Uncomment below
-@REM set COMPLUS_JitFuncInfoLogFile=%TEMP%\JitFuncInfoLogFile.txt
-@REM ==== Uncomment above
-
-@REM Option #2: collect one FuncInfoLogFile per test, and put it in
-@REM the same directory as the test. Note that each tests lives in
-@REM its own directory, and the current directory is set to the unique
-@REM test directory before this script is invoked.
-@REM ==== Uncomment below
-@REM set __TestDir=%CD%
-@REM if %__TestDir:~-1%==\ set __TestDir=%__TestDir:~0,-1%
-@REM set COMPLUS_JitFuncInfoLogFile=%__TestDir%\FuncInfo.txt
-@REM ==== Uncomment above
-
-@REM Option #3: collect one FuncInfoLogFile per test, and put all of
-@REM them in a separate directory tree rooted at %__FuncInfoRootDir%.
-@REM If that is set globally already, then use it. Otherwise, use a
-@REM default set here. The directory tree will mirror the test binary tree.
-@REM Note that the current directory is set to the unique test directory
-@REM before this script is invoked.
-@REM ==== Uncomment below
-@REM if not defined __FuncInfoRootDir set __FuncInfoRootDir=c:\FuncInfos
-@REM set __TestDir=%CD%
-@REM if %__TestDir:~-1%==\ set __TestDir=%__TestDir:~0,-1%
-@REM if %__TestDir:~1,1%==: set __TestDir=%__TestDir:~3%
-@REM set __FuncInfoDir=%__FuncInfoRootDir%\%__TestDir%
-@REM if not exist %__FuncInfoDir% mkdir %__FuncInfoDir%
-@REM set COMPLUS_JitFuncInfoLogFile=%__FuncInfoDir%\FuncInfo.txt
-@REM ==== Uncomment above
-
-@REM -------------------------------------------------------------------------
diff --git a/src/coreclr/tests/x64_arm64_altjit.cmd b/src/coreclr/tests/x64_arm64_altjit.cmd
index 9a86d0ea556..2afdbbaf51c 100644
--- a/src/coreclr/tests/x64_arm64_altjit.cmd
+++ b/src/coreclr/tests/x64_arm64_altjit.cmd
@@ -1,6 +1,6 @@
set COMPlus_AltJit=*
set COMPlus_AltJitNgen=*
-set COMPlus_AltJitName=protononjit.dll
+set COMPlus_AltJitName=clrjit_win_arm64_x64.dll
set COMPlus_NoGuiOnAssert=1
set COMPlus_ContinueOnAssert=0
set COMPlus_AltJitAssertOnNYI=1
diff --git a/src/coreclr/tests/x86_arm_altjit.cmd b/src/coreclr/tests/x86_arm_altjit.cmd
index d6c3fdd4831..25232d027c3 100644
--- a/src/coreclr/tests/x86_arm_altjit.cmd
+++ b/src/coreclr/tests/x86_arm_altjit.cmd
@@ -1,6 +1,6 @@
set COMPlus_AltJit=*
set COMPlus_AltJitNgen=*
-set COMPlus_AltJitName=protononjit.dll
+set COMPlus_AltJitName=clrjit_win_arm_x86.dll
set COMPlus_NoGuiOnAssert=1
set COMPlus_ContinueOnAssert=0
set COMPlus_AltJitAssertOnNYI=1
diff --git a/src/tests/Common/Directory.Build.targets b/src/tests/Common/Directory.Build.targets
index 08c3fc084ed..93e0f2e95bc 100644
--- a/src/tests/Common/Directory.Build.targets
+++ b/src/tests/Common/Directory.Build.targets
@@ -41,7 +41,7 @@
-
+