21 references to ObjectToHandle
ILCompiler.ReadyToRun (21)
JitInterface\CorInfoImpl.ReadyToRun.cs (11)
523entryPoint = (void*)ObjectToHandle(_compilation.NodeFactory.CompiledMethodNode(asyncResumptionStub)); 1573ppValue = (void*)ObjectToHandle(str); 1580ppValue = (void*)ObjectToHandle(stringObject); 2501constLookup.addr = (void*)ObjectToHandle(new RequiresRuntimeJitIfUsedSymbol(unstableMessage + " calling " + method)); 2939ppIndirection = (void*)ObjectToHandle(import); 2947ppIndirection = (void*)ObjectToHandle(typeHandleImport); 3145*ppCookieVal = (IntPtr *)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.GSCookie)); 3150ppIndirection = (void*)ObjectToHandle(_compilation.NodeFactory.GetReadyToRunHelperCell(ReadyToRunHelper.IndirectTrapThreads)); 3242pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetPInvokeTargetNode(methodWithToken)); 3247pLookup.addr = (void*)ObjectToHandle(_compilation.SymbolNodeFactory.GetIndirectPInvokeTargetNode(methodWithToken)); 3575return (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); 3197return (void*)ObjectToHandle(_compilation.GetFieldRvaData(fd)); 3757pNativeEntrypoint->addr = (void*)ObjectToHandle(entryPoint); 3762pNativeEntrypoint->addr = (void*)ObjectToHandle(entryPoint); 3856constLookup.addr = (void*)ObjectToHandle(symbol); 4630ComputeJitPgoInstrumentationSchema(ObjectToHandle, pgoResultsSchemas, out var nativeSchemas, _cachedMemoryStream