21 references to ObjectToHandle
ILCompiler.ReadyToRun (21)
JitInterface\CorInfoImpl.ReadyToRun.cs (11)
521entryPoint = (void*)ObjectToHandle(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 1580ppValue = (void*)ObjectToHandle(str); 1587ppValue = (void*)ObjectToHandle(stringObject); 2506constLookup.addr = (void*)ObjectToHandle(new RequiresRuntimeJitIfUsedSymbol(unstableMessage + " calling " + method)); 2947ppIndirection = (void*)ObjectToHandle(import); 2955ppIndirection = (void*)ObjectToHandle(typeHandleImport); 3172*ppCookieVal = (IntPtr *)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie)); 3177ppIndirection = (void*)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads)); 3269pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetPInvokeTargetNode(methodWithToken)); 3274pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetIndirectPInvokeTargetNode(methodWithToken)); 3602return (CORINFO_WASM_TYPE_SYMBOL_STRUCT_*)ObjectToHandle(typeNode);
src\runtime\src\coreclr\tools\Common\JitInterface\CorInfoImpl.cs (10)
770private CORINFO_METHOD_STRUCT_* ObjectToHandle(MethodDesc method) => (CORINFO_METHOD_STRUCT_*)ObjectToHandle((object)method); 772private CORINFO_CLASS_STRUCT_* ObjectToHandle(TypeDesc type) => (CORINFO_CLASS_STRUCT_*)ObjectToHandle((object)type); 774private CORINFO_FIELD_STRUCT_* ObjectToHandle(FieldDesc field) => (CORINFO_FIELD_STRUCT_*)ObjectToHandle((object)field); 777private MethodSignatureInfo* ObjectToHandle(MethodSignature method) => (MethodSignatureInfo*)ObjectToHandle((object)method); 957sig->methodSignature = (MethodSignatureInfo*)ObjectToHandle(locals); 3193return (void*)ObjectToHandle(_compilation.GetFieldRvaData(fd)); 3808pNativeEntrypoint->addr = (void*)ObjectToHandle(entryPoint); 3813pNativeEntrypoint->addr = (void*)ObjectToHandle(entryPoint); 3907constLookup.addr = (void*)ObjectToHandle(symbol); 4685ComputeJitPgoInstrumentationSchema(ObjectToHandle, pgoResultsSchemas, out var nativeSchemas, _cachedMemoryStream