summaryrefslogtreecommitdiff
path: root/src/vm/comdelegate.h
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-06-14 04:29:25 -0700
committerGitHub <noreply@github.com>2019-06-14 04:29:25 -0700
commite879d9c7b2b7d7a75c0101ff4861d6f87e223bc0 (patch)
tree42eda5c52c5fb00778a5139cced177a6ae8eb43c /src/vm/comdelegate.h
parent64ca544ecf55490675e72b853e98ebc8cc75a4fe (diff)
downloadcoreclr-e879d9c7b2b7d7a75c0101ff4861d6f87e223bc0.tar.gz
coreclr-e879d9c7b2b7d7a75c0101ff4861d6f87e223bc0.tar.bz2
coreclr-e879d9c7b2b7d7a75c0101ff4861d6f87e223bc0.zip
Optimize Activator.CreateInstance (#25145)
* Optimize Activator.CreateInstance - Short-circuit Activator.CreateInstance<T>() for value types without default constructor - Cache default constructor delegate on RuntimeType instead of fixed-size singleton cache
Diffstat (limited to 'src/vm/comdelegate.h')
-rw-r--r--src/vm/comdelegate.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vm/comdelegate.h b/src/vm/comdelegate.h
index 862f469a04..3d5ec8e30e 100644
--- a/src/vm/comdelegate.h
+++ b/src/vm/comdelegate.h
@@ -138,9 +138,6 @@ public:
static BOOL ValidateCtor(TypeHandle objHnd, TypeHandle ftnParentHnd, MethodDesc *pFtn, TypeHandle dlgtHnd, BOOL *pfIsOpenDelegate);
private:
- static BOOL ValidateBeginInvoke(DelegateEEClass* pClass); // make certain the BeginInvoke method is consistant with the Invoke Method
- static BOOL ValidateEndInvoke(DelegateEEClass* pClass); // make certain the EndInvoke method is consistant with the Invoke Method
-
static void BindToMethod(DELEGATEREF *pRefThis,
OBJECTREF *pRefFirstArg,
MethodDesc *pTargetMethod,