Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/coreclr/vm/ceeload.cpp')
-rw-r--r--src/coreclr/vm/ceeload.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/coreclr/vm/ceeload.cpp b/src/coreclr/vm/ceeload.cpp
index c48f2fcb596..aeb4868ee2a 100644
--- a/src/coreclr/vm/ceeload.cpp
+++ b/src/coreclr/vm/ceeload.cpp
@@ -4703,6 +4703,14 @@ void Module::RunEagerFixupsUnlocked()
}
}
}
+
+ TADDR base = dac_cast<TADDR>(pNativeImage->GetBase());
+
+ ExecutionManager::AddCodeRange(
+ base, base + (TADDR)pNativeImage->GetVirtualSize(),
+ ExecutionManager::GetReadyToRunJitManager(),
+ RangeSection::RANGE_SECTION_READYTORUN,
+ this /* pHeapListOrZapModule */);
}
#endif // !DACCESS_COMPILE