src/share/vm/oops/methodData.hpp

changeset 5784
190899198332
parent 5726
69f26e8e09f9
child 5914
d13d7aba8c12
equal deleted inserted replaced
5783:c1fbf21c7397 5784:190899198332
331 } 331 }
332 int int_at_unchecked(int index) { 332 int int_at_unchecked(int index) {
333 return (int)data()->cell_at(index); 333 return (int)data()->cell_at(index);
334 } 334 }
335 void set_oop_at(int index, oop value) { 335 void set_oop_at(int index, oop value) {
336 set_intptr_at(index, (intptr_t) value); 336 set_intptr_at(index, cast_from_oop<intptr_t>(value));
337 } 337 }
338 oop oop_at(int index) { 338 oop oop_at(int index) {
339 return (oop)intptr_at(index); 339 return cast_to_oop(intptr_at(index));
340 } 340 }
341 341
342 void set_flag_at(int flag_number) { 342 void set_flag_at(int flag_number) {
343 data()->set_flag_at(flag_number); 343 data()->set_flag_at(flag_number);
344 } 344 }

mercurial