Mercurial > hg > truffle
comparison src/share/vm/oops/methodData.hpp @ 12873:4e7f99b70d9d
Merge
author | adlertz |
---|---|
date | Wed, 09 Oct 2013 05:03:34 -0700 |
parents | 190899198332 |
children | cefad50507d8 d13d7aba8c12 |
comparison
equal
deleted
inserted
replaced
12872:98692a2d36d7 | 12873:4e7f99b70d9d |
---|---|
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 } |