I missed updating one of the callers of `ReadyToRunInfo::GetEntryPoint`
in #15801. Fix by making the last arg explicit so this kind of type
confusion error is less likely, and updating the missed call site.
Closes #16177.
Module * pModule = GetModule();
if (pModule->IsReadyToRun())
{
- pCode = pModule->GetReadyToRunInfo()->GetEntryPoint(this, pConfig);
+ pCode = pModule->GetReadyToRunInfo()->GetEntryPoint(this, pConfig, TRUE /* fFixups */);
}
#endif
return pCode;
return true;
}
-PCODE ReadyToRunInfo::GetEntryPoint(MethodDesc * pMD, PrepareCodeConfig* pConfig, BOOL fFixups /*=TRUE*/)
+PCODE ReadyToRunInfo::GetEntryPoint(MethodDesc * pMD, PrepareCodeConfig* pConfig, BOOL fFixups)
{
STANDARD_VM_CONTRACT;
{
STANDARD_VM_CONTRACT;
- PCODE ret = m_pInfo->GetEntryPoint(GetMethodDesc(), FALSE);
+ PCODE ret = m_pInfo->GetEntryPoint(GetMethodDesc(), NULL, FALSE);
_ASSERTE(ret != NULL);
return ret;
}
static PTR_ReadyToRunInfo Initialize(Module * pModule, AllocMemTracker *pamTracker);
- PCODE GetEntryPoint(MethodDesc * pMD, PrepareCodeConfig* pConfig, BOOL fFixups = TRUE);
+ PCODE GetEntryPoint(MethodDesc * pMD, PrepareCodeConfig* pConfig, BOOL fFixups);
MethodDesc * GetMethodDescForEntryPoint(PCODE entryPoint);