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