Skip to content

Commit

Permalink
Initialize regMaskTP in genRegMask()
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalspathak committed May 31, 2024
1 parent edccae2 commit c72147f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/jit/target.h
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ inline SingleTypeRegSet genSingleTypeRegMask(regNumber regNum, var_types type)

inline regMaskTP genRegMask(regNumber reg)
{
regMaskTP result;
regMaskTP result = RBM_NONE;
result.AddRegNumInMask(reg);
return result;
}
Expand Down Expand Up @@ -991,7 +991,7 @@ inline regMaskTP genRegMaskFloat(regNumber reg ARM_ARG(var_types type /* = TYP_D
//
inline regMaskTP genRegMask(regNumber regNum, var_types type)
{
regMaskTP result;
regMaskTP result = RBM_NONE;
result.AddRegNumInMask(regNum ARM_ARG(type));
return result;
}
Expand Down

0 comments on commit c72147f

Please sign in to comment.