21 references to ObjectToHandle
ILCompiler.ReadyToRun (21)
JitInterface\CorInfoImpl.ReadyToRun.cs (11)
523entryPoint = (void*)ObjectToHandle(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 1570ppValue = (void*)ObjectToHandle(str); 1577ppValue = (void*)ObjectToHandle(stringObject); 2498constLookup.addr = (void*)ObjectToHandle(new RequiresRuntimeJitIfUsedSymbol(unstableMessage + " calling " + method)); 2936ppIndirection = (void*)ObjectToHandle(import); 2944ppIndirection = (void*)ObjectToHandle(typeHandleImport); 3142*ppCookieVal = (IntPtr *)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie)); 3147ppIndirection = (void*)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads)); 3239pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetPInvokeTargetNode(methodWithToken)); 3244pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetIndirectPInvokeTargetNode(methodWithToken)); 3572return (CORINFO_WASM_TYPE_SYMBOL_STRUCT_*)ObjectToHandle(typeNode);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (10)
778private CORINFO_METHOD_STRUCT_* ObjectToHandle(MethodDesc method) => (CORINFO_METHOD_STRUCT_*)ObjectToHandle((object)method); 780private CORINFO_CLASS_STRUCT_* ObjectToHandle(TypeDesc type) => (CORINFO_CLASS_STRUCT_*)ObjectToHandle((object)type); 782private CORINFO_FIELD_STRUCT_* ObjectToHandle(FieldDesc field) => (CORINFO_FIELD_STRUCT_*)ObjectToHandle((object)field); 785private MethodSignatureInfo* ObjectToHandle(MethodSignature method) => (MethodSignatureInfo*)ObjectToHandle((object)method); 957sig->methodSignature = (MethodSignatureInfo*)ObjectToHandle(locals); 3195return (void*)ObjectToHandle(_compilation.GetFieldRvaData(fd)); 3755pNativeEntrypoint->addr = (void*)ObjectToHandle(entryPoint); 3760pNativeEntrypoint->addr = (void*)ObjectToHandle(entryPoint); 3854constLookup.addr = (void*)ObjectToHandle(symbol); 4631ComputeJitPgoInstrumentationSchema(ObjectToHandle, pgoResultsSchemas, out var nativeSchemas, _cachedMemoryStream