diff options
author | Gaurav Khanna <gkhanna@microsoft.com> | 2016-04-27 16:35:21 -0700 |
---|---|---|
committer | Gaurav Khanna <gkhanna@microsoft.com> | 2016-04-28 12:11:06 -0700 |
commit | 2385b697ea4eeaa7314fafd32415e943601211cf (patch) | |
tree | 26b3c525819e33f0cbd0cd79fa5e57df938779c6 /src/zap | |
parent | ccbabf30d4d9bde05e9a843713b29542279cd92a (diff) | |
download | coreclr-2385b697ea4eeaa7314fafd32415e943601211cf.tar.gz coreclr-2385b697ea4eeaa7314fafd32415e943601211cf.tar.bz2 coreclr-2385b697ea4eeaa7314fafd32415e943601211cf.zip |
Load JIT from a custom location
Diffstat (limited to 'src/zap')
-rw-r--r-- | src/zap/zapper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zap/zapper.cpp b/src/zap/zapper.cpp index a211a317c4..80ab2ef0ec 100644 --- a/src/zap/zapper.cpp +++ b/src/zap/zapper.cpp @@ -696,9 +696,9 @@ void Zapper::LoadAndInitializeJITForNgen(LPCWSTR pwzJitName, OUT HINSTANCE* phJi HRESULT hr = E_FAIL; #if defined(FEATURE_CORECLR) || defined(FEATURE_MERGE_JIT_AND_ENGINE) - // TODO_DJIT: Currently, we are looking up the JIT from the same location as CoreCLR. The path needs to be passed by the caller. - // // Note: FEATURE_MERGE_JIT_AND_ENGINE is defined for the Desktop crossgen compilation as well. + // + // For Crossgen, we always look up the JIT from the same location as CoreCLR. PathString CoreClrFolder; extern HINSTANCE g_hThisInst; if (WszGetModuleFileName(g_hThisInst, CoreClrFolder)) |