Skip to content

Commit 35bc561

Browse files
authored
SPMI: Fix SpmiRecordsHelper::RestoreCORINFO_RUNTIME_LOOKUP (#81657)
Fix #81637
1 parent f8daacf commit 35bc561

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/coreclr/tools/superpmi/superpmi-shared/spmirecordhelper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ inline CORINFO_RUNTIME_LOOKUP SpmiRecordsHelper::RestoreCORINFO_RUNTIME_LOOKUP(
509509
runtimeLookup.indirectSecondOffset = lookup.indirectSecondOffset != 0;
510510
for (int i = 0; i < CORINFO_MAXINDIRECTIONS; i++)
511511
runtimeLookup.offsets[i] = (size_t)lookup.offsets[i];
512-
return CORINFO_RUNTIME_LOOKUP();
512+
return runtimeLookup;
513513
}
514514

515515
inline Agnostic_CORINFO_LOOKUP SpmiRecordsHelper::StoreAgnostic_CORINFO_LOOKUP(CORINFO_LOOKUP* pLookup)

0 commit comments

Comments
 (0)