diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-02-28 07:49:16 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-03-01 00:29:38 +0300 |
commit | fce556e6531cca5a04b77a16cbda1979793994e0 (patch) | |
tree | 8b40b42f0789bc7a4561b7837c940fdbc8e33a9e /src/Native/Runtime/MiscHelpers.cpp | |
parent | a1754e68a3987b137d440710ff7473e50f25caf7 (diff) |
Module header refactoring
- Change module header to use ReadyToRunHeader structure
- Rename ModuleHeaderSection ReadyToRunSectionType
- Rename ModuleHeaderNode to ModulesSectionNode
- Rename ModuleIndirectionCell to ModuleManagerIndirectionNode
- Move modulesSection from runtime to bootstrap native code
Diffstat (limited to 'src/Native/Runtime/MiscHelpers.cpp')
-rw-r--r-- | src/Native/Runtime/MiscHelpers.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Native/Runtime/MiscHelpers.cpp b/src/Native/Runtime/MiscHelpers.cpp index a9b27515c..6267672e2 100644 --- a/src/Native/Runtime/MiscHelpers.cpp +++ b/src/Native/Runtime/MiscHelpers.cpp @@ -567,11 +567,11 @@ COOP_PINVOKE_HELPER(void*, RhGetUniversalTransitionThunk, ()) #ifdef CORERT COOP_PINVOKE_HELPER(void*, RhpGetModuleSection, (ModuleManager* pModule, Int32 headerId, Int32* length)) { - return pModule->GetModuleSection((ModuleHeaderSection)headerId, length); + return pModule->GetModuleSection((ReadyToRunSectionType)headerId, length); } -COOP_PINVOKE_HELPER(void*, RhpCreateModuleManager, (void* pHeaderStart, void* pHeaderEnd)) +COOP_PINVOKE_HELPER(void*, RhpCreateModuleManager, (void* pModuleHeader)) { - return ModuleManager::Create(pHeaderStart, pHeaderEnd); + return ModuleManager::Create(pModuleHeader); } #endif |