Mercurial > hg > graal-compiler
diff src/cpu/x86/vm/assembler_x86_64.hpp @ 360:5d254928c888
Merge
author | ysr |
---|---|
date | Wed, 27 Aug 2008 11:20:46 -0700 |
parents | 1ee8caae33af |
children |
line wrap: on
line diff
--- a/src/cpu/x86/vm/assembler_x86_64.hpp Wed Aug 27 10:56:33 2008 -0700 +++ b/src/cpu/x86/vm/assembler_x86_64.hpp Wed Aug 27 11:20:46 2008 -0700 @@ -222,6 +222,18 @@ static Address make_raw(int base, int index, int scale, int disp); static Address make_array(ArrayAddress); + Register base() const { + return _base; + } + + Register index() const { + return _index; + } + + int disp() const { + return _disp; + } + private: bool base_needs_rex() const { @@ -1204,6 +1216,9 @@ // location (reg. is // destroyed) + void g1_write_barrier_pre(Register obj, Register tmp, Register tmp2, bool tosca_live ); + void g1_write_barrier_post(Register store_addr, Register new_val, Register tmp, Register tmp2); + // split store_check(Register obj) to enhance instruction interleaving void store_check_part_1(Register obj); void store_check_part_2(Register obj);