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