equal
deleted
inserted
replaced
148 } else { |
148 } else { |
149 return 0; |
149 return 0; |
150 } |
150 } |
151 } |
151 } |
152 |
152 |
153 inline static bool equals(oop o1, oop o2) { return equals_raw(o1, o2); } |
|
154 |
|
155 inline static bool equals_raw(oop o1, oop o2) { return o1 == o2; } |
|
156 |
|
157 // Access to fields in a instanceOop through these methods. |
153 // Access to fields in a instanceOop through these methods. |
158 template <DecoratorSet decorator> |
154 template <DecoratorSet decorator> |
159 oop obj_field_access(int offset) const; |
155 oop obj_field_access(int offset) const; |
160 oop obj_field(int offset) const; |
156 oop obj_field(int offset) const; |
161 void obj_field_put(int offset, oop value); |
157 void obj_field_put(int offset, oop value); |