8230808: Remove Access::equals()

Reviewed-by: tschatzl, shade
This commit is contained in:
Per Lidén 2019-09-17 09:51:02 +02:00
parent 0848c76a66
commit cb50d3b4f3
6 changed files with 3 additions and 105 deletions

View file

@ -150,9 +150,9 @@ class oopDesc {
}
}
inline static bool equals(oop o1, oop o2) { return Access<>::equals(o1, o2); }
inline static bool equals(oop o1, oop o2) { return equals_raw(o1, o2); }
inline static bool equals_raw(oop o1, oop o2) { return RawAccess<>::equals(o1, o2); }
inline static bool equals_raw(oop o1, oop o2) { return o1 == o2; }
// Access to fields in a instanceOop through these methods.
template <DecoratorSet decorator>