Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Take advantage of simplifications enabled by folding all indirect access to locals #79722

Merged
merged 10 commits into from
Mar 31, 2023
2 changes: 1 addition & 1 deletion src/coreclr/jit/compiler.h
Original file line number Diff line number Diff line change
Expand Up @@ -3028,7 +3028,7 @@ class Compiler
// Check if this tree is a typeof()
bool gtIsTypeof(GenTree* tree, CORINFO_CLASS_HANDLE* handle = nullptr);

GenTree* gtCallGetDefinedRetBufLclAddr(GenTreeCall* call);
GenTreeLclVarCommon* gtCallGetDefinedRetBufLclAddr(GenTreeCall* call);

//-------------------------------------------------------------------------
// Functions to display the trees
Expand Down
2 changes: 1 addition & 1 deletion src/coreclr/jit/gcinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ GCInfo::WriteBarrierForm GCInfo::gcIsWriteBarrierCandidate(GenTreeStoreInd* stor
//
GCInfo::WriteBarrierForm GCInfo::gcWriteBarrierFormFromTargetAddress(GenTree* tgtAddr)
{
if (tgtAddr->IsLocalAddrExpr() != nullptr)
if (tgtAddr->OperIsLocalAddr())
{
// No need for a GC barrier when writing to a local variable.
return GCInfo::WBF_NoBarrier;
Expand Down
Loading