equal
deleted
inserted
replaced
98 |
98 |
99 oopDesc* obj() const volatile { return _o; } |
99 oopDesc* obj() const volatile { return _o; } |
100 |
100 |
101 // General access |
101 // General access |
102 oopDesc* operator->() const { return obj(); } |
102 oopDesc* operator->() const { return obj(); } |
103 bool operator==(const oop o) const; |
103 bool operator==(const oop o) const { return obj() == o.obj(); } |
104 bool operator==(void *p) const { return obj() == p; } |
104 bool operator==(void *p) const { return obj() == p; } |
105 bool operator!=(const volatile oop o) const; |
105 bool operator!=(const volatile oop o) const { return obj() != o.obj(); } |
106 bool operator!=(void *p) const { return obj() != p; } |
106 bool operator!=(void *p) const { return obj() != p; } |
107 |
107 |
108 // Assignment |
108 // Assignment |
109 oop& operator=(const oop& o) { _o = o.obj(); return *this; } |
109 oop& operator=(const oop& o) { _o = o.obj(); return *this; } |
110 volatile oop& operator=(const oop& o) volatile { _o = o.obj(); return *this; } |
110 volatile oop& operator=(const oop& o) volatile { _o = o.obj(); return *this; } |