Using accessor method for `_offset` in `TypePtr::eq` for consistency with 
`TypePtr::hash`. This is semantically equivalent because `Offset` overrides the 
`==` operator.

Thanks,
Tobias

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - JDK-8385311

Changes: https://git.openjdk.org/valhalla/pull/2469/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2469&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8385311
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/valhalla/pull/2469.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2469/head:pull/2469

PR: https://git.openjdk.org/valhalla/pull/2469

Reply via email to