diff options
Diffstat (limited to 'src/vm/zapsig.h')
-rw-r--r-- | src/vm/zapsig.h | 62 |
1 files changed, 37 insertions, 25 deletions
diff --git a/src/vm/zapsig.h b/src/vm/zapsig.h index ef837ad2d2..258e821aa8 100644 --- a/src/vm/zapsig.h +++ b/src/vm/zapsig.h @@ -154,28 +154,39 @@ public: // fromModule is the module in which the type is defined. // pBuffer contains the signature encoding for the type. // level is the class load level (see classloadlevel.h) to which the type should be loaded - static TypeHandle DecodeType(Module *referencingModule, - Module *fromModule, - PCCOR_SIGNATURE pBuffer, - ClassLoadLevel level = CLASS_LOADED); - - static MethodDesc *DecodeMethod(Module *referencingModule, - Module *fromModule, - PCCOR_SIGNATURE pBuffer, - TypeHandle * ppTH = NULL); - - static MethodDesc *DecodeMethod(Module *referencingModule, - Module *fromModule, - PCCOR_SIGNATURE pBuffer, - SigTypeContext *pContext, - TypeHandle * ppTH = NULL, - PCCOR_SIGNATURE *ppOwnerTypeSpecWithVars = NULL, - PCCOR_SIGNATURE *ppMethodSpecWithVars = NULL); - - static FieldDesc *DecodeField(Module *referencingModule, - Module *fromModule, - PCCOR_SIGNATURE pBuffer, - TypeHandle * ppTH = NULL); + static TypeHandle DecodeType( + Module *referencingModule, + Module *fromModule, + PCCOR_SIGNATURE pBuffer, + ClassLoadLevel level = CLASS_LOADED); + + static MethodDesc *DecodeMethod( + Module *referencingModule, + Module *fromModule, + PCCOR_SIGNATURE pBuffer, + TypeHandle *ppTH = NULL); + + static MethodDesc *DecodeMethod( + Module *referencingModule, + Module *fromModule, + PCCOR_SIGNATURE pBuffer, + SigTypeContext *pContext, + TypeHandle *ppTH = NULL, + PCCOR_SIGNATURE *ppOwnerTypeSpecWithVars = NULL, + PCCOR_SIGNATURE *ppMethodSpecWithVars = NULL); + + static FieldDesc *DecodeField( + Module *referencingModule, + Module *fromModule, + PCCOR_SIGNATURE pBuffer, + TypeHandle *ppTH = NULL); + + static FieldDesc *DecodeField( + Module *pReferencingModule, + Module *pInfoModule, + PCCOR_SIGNATURE pBuffer, + SigTypeContext *pContext, + TypeHandle *ppTH = NULL); static BOOL EncodeMethod( MethodDesc *pMethod, @@ -184,8 +195,8 @@ public: LPVOID pReferencingModule, ENCODEMODULE_CALLBACK pfnEncodeModule, DEFINETOKEN_CALLBACK pfnDefineToken, - CORINFO_RESOLVED_TOKEN * pResolvedToken = NULL, - CORINFO_RESOLVED_TOKEN * pConstrainedResolvedToken = NULL, + CORINFO_RESOLVED_TOKEN *pResolvedToken = NULL, + CORINFO_RESOLVED_TOKEN *pConstrainedResolvedToken = NULL, BOOL fEncodeUsingResolvedTokenSpecStreams = FALSE); static void EncodeField( @@ -194,7 +205,8 @@ public: SigBuilder *pSigBuilder, LPVOID pReferencingModule, ENCODEMODULE_CALLBACK pfnEncodeModule, - CORINFO_RESOLVED_TOKEN * pResolvedToken = NULL); + CORINFO_RESOLVED_TOKEN *pResolvedToken = NULL, + BOOL fEncodeUsingResolvedTokenSpecStreams = FALSE); }; |