Mercurial > hg > openjdk6-mips
changeset 5:4c7a7a2a3caa
Fix the bug of register allocation.
After fixing this bug, the regression test "GCTest" can pass.
author | Cai Songsong <caisongsong@loongson.cn> |
---|---|
date | Sat, 09 Oct 2010 17:52:56 +0800 |
parents | ccd64fcdde80 |
children | 0e269e2d5a9c |
files | hotspot/src/cpu/mips/vm/c1_Runtime1_mips.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hotspot/src/cpu/mips/vm/c1_Runtime1_mips.cpp Sat Oct 09 17:29:51 2010 +0800 +++ b/hotspot/src/cpu/mips/vm/c1_Runtime1_mips.cpp Sat Oct 09 17:52:56 2010 +0800 @@ -1117,7 +1117,7 @@ //__ call_RT(V0, noreg, CAST_FROM_FN_PTR(address, new_multi_array), A1, A2, A3); //OopMap* map = save_live_registers(sasm, 4); OopMap* map = save_live_registers(sasm, 0); - int call_offset = __ call_RT(A1, noreg, CAST_FROM_FN_PTR(address, new_multi_array), + int call_offset = __ call_RT(V0, noreg, CAST_FROM_FN_PTR(address, new_multi_array), V0,T2,T0); oop_maps = new OopMapSet(); oop_maps->add_gc_map(call_offset, map);