Skip to content

Commit

Permalink
Updating comparator
Browse files Browse the repository at this point in the history
Co-authored-by: Jakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
  • Loading branch information
BrianBohe and jakobbotsch authored Oct 24, 2022
1 parent b89c8e3 commit 05b521f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/jit/emit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ bool emitLocation::noDistanceWith(emitLocation& loc) const
return (emitGetInsNumFromCodePos(codePos) == ig->igInsCnt) && (emitGetInsNumFromCodePos(loc.codePos) == 0);
}
// otherwise
return this->operator==(loc);
return *this == loc;
}

#ifdef DEBUG
Expand Down

0 comments on commit 05b521f

Please # to comment.