Mercurial > hg > graal-compiler
diff src/cpu/x86/vm/c1_CodeStubs_x86.cpp @ 1873:07a218de38cb
6992477: fix for 6991512 broke sparc barriers
Reviewed-by: kvn, iveresov
author | never |
---|---|
date | Fri, 15 Oct 2010 14:21:11 -0700 |
parents | f02a8bbe6ed4 |
children | f95d63e2154a |
line wrap: on
line diff
--- a/src/cpu/x86/vm/c1_CodeStubs_x86.cpp Thu Oct 14 10:46:38 2010 -0700 +++ b/src/cpu/x86/vm/c1_CodeStubs_x86.cpp Fri Oct 15 14:21:11 2010 -0700 @@ -499,7 +499,7 @@ Register new_val_reg = new_val()->as_register(); __ cmpptr(new_val_reg, (int32_t) NULL_WORD); __ jcc(Assembler::equal, _continuation); - ce->store_parameter(addr()->as_register(), 0); + ce->store_parameter(addr()->as_pointer_register(), 0); __ call(RuntimeAddress(Runtime1::entry_for(Runtime1::g1_post_barrier_slow_id))); __ jmp(_continuation); }