summaryrefslogtreecommitdiff
path: root/src/vm/mlinfo.h
diff options
context:
space:
mode:
authorJeremy Koritzinsky <jkoritzinsky@gmail.com>2019-01-08 14:50:42 -0800
committerGitHub <noreply@github.com>2019-01-08 14:50:42 -0800
commit41dfe19d1ffe00edfdaa837a3b46aea5a8036617 (patch)
treea93deb907765936a0067554120664396bcc3f2cb /src/vm/mlinfo.h
parentf27337157392bbafd0cf69835d7ec3045a1dc08b (diff)
downloadcoreclr-41dfe19d1ffe00edfdaa837a3b46aea5a8036617.tar.gz
coreclr-41dfe19d1ffe00edfdaa837a3b46aea5a8036617.tar.bz2
coreclr-41dfe19d1ffe00edfdaa837a3b46aea5a8036617.zip
Extract cleanup changes from #21793. (#21852)
* Cleanup changes from #21793. * Emit the data pointer offset directly into the IL stream (and calculate it as needed instead of passing it through) * Fix broken assumption that OverrideProcArgs::na::m_pMT is the array type instead of the element type (which it was).
Diffstat (limited to 'src/vm/mlinfo.h')
-rw-r--r--src/vm/mlinfo.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/vm/mlinfo.h b/src/vm/mlinfo.h
index b31e34f138..0ac146c3b7 100644
--- a/src/vm/mlinfo.h
+++ b/src/vm/mlinfo.h
@@ -83,8 +83,6 @@ struct OverrideProcArgs
struct
{
VARTYPE m_vt;
- UINT16 m_optionalbaseoffset; //for fast marshaling, offset of dataptr if known and less than 64k (0 otherwise)
- MethodTable* m_pMT;
#ifdef FEATURE_COMINTEROP
SIZE_T m_cbElementSize;
WinMDAdapter::RedirectedTypeIndex m_redirectedTypeIndex;
@@ -470,8 +468,7 @@ public:
VOID EmitOrThrowInteropParamException(NDirectStubLinker* psl, BOOL fMngToNative, UINT resID, UINT paramIdx);
// These methods retrieve the information for different element types.
- HRESULT HandleArrayElemType(NativeTypeParamInfo *pParamInfo,
- UINT16 optbaseoffset,
+ HRESULT HandleArrayElemType(NativeTypeParamInfo *pParamInfo,
TypeHandle elemTypeHnd,
int iRank,
BOOL fNoLowerBounds,