Skip to content

Commit

Permalink
Fix non-Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobbotsch committed Feb 1, 2025
1 parent 23fb6f2 commit 0c654ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coreclr/jit/layout.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ void ClassLayoutBuilder::SetGCPtrType(unsigned slot, var_types type)
SetGCPtr(slot, TYPE_GC_NONE);
break;
default:
assert(!"Invalid var_types passed to " __FUNCTION__);
assert(!"Invalid var_types passed to ClassLayoutBuilder::SetGCPtrType");
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/jit/lclvars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2764,7 +2764,7 @@ void Compiler::StructPromotionHelper::PromoteStructVar(unsigned lclNum)
#ifdef DEBUG
if (compiler->verbose)
{
printf("\nPromoting struct local V%02u (%s):", lclNum, varDsc->GetLayout()->GetClassNameW());
printf("\nPromoting struct local V%02u (%s):", lclNum, varDsc->GetLayout()->GetClassName());
}
#endif

Expand Down

0 comments on commit 0c654ac

Please sign in to comment.