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

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordotnet-bot <dotnet-bot@microsoft.com>2017-04-07 19:15:14 +0300
committerdotnet-bot <dotnet-bot@microsoft.com>2017-04-07 19:15:14 +0300
commit2bbc0dce126b38922682fe7f5f46d805029d438f (patch)
treea3d3e15bf3150ac606b2334bc01ad917aeb7c105 /src/Native/Runtime/RuntimeInstance.cpp
parentecd7ae9edb94fe45cc28af6ce5437fbc428a2ae8 (diff)
ProjectX: Hook up class lib functions with type manager
The class lib functions are already hooked up to code manager. However, there are cases where we look for class lib functions from EEtype, such as GetClasslibException on an eeype. This change attaches the class lib function array to every type manager and sets up a runtime helper to get to the class lib function GetRuntimeException from an EEtype. [tfs-changeset: 1653592]
Diffstat (limited to 'src/Native/Runtime/RuntimeInstance.cpp')
-rw-r--r--src/Native/Runtime/RuntimeInstance.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/RuntimeInstance.cpp b/src/Native/Runtime/RuntimeInstance.cpp
index bb0fff7fd..665b77636 100644
--- a/src/Native/Runtime/RuntimeInstance.cpp
+++ b/src/Native/Runtime/RuntimeInstance.cpp
@@ -429,9 +429,9 @@ bool RuntimeInstance::RegisterTypeManager(TypeManager * pTypeManager)
return true;
}
-COOP_PINVOKE_HELPER(TypeManagerHandle, RhpCreateTypeManager, (HANDLE osModule, void* pModuleHeader))
+COOP_PINVOKE_HELPER(TypeManagerHandle, RhpCreateTypeManager, (HANDLE osModule, void* pModuleHeader, PTR_PTR_VOID pClasslibFunctions, UInt32 nClasslibFunctions))
{
- TypeManager * typeManager = TypeManager::Create(osModule, pModuleHeader);
+ TypeManager * typeManager = TypeManager::Create(osModule, pModuleHeader, pClasslibFunctions, nClasslibFunctions);
GetRuntimeInstance()->RegisterTypeManager(typeManager);
return TypeManagerHandle::Create(typeManager);
}