Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/templateTable_sparc.cpp @ 1846:d55217dc206f
6829194: JSR 292 needs to support compressed oops
Reviewed-by: kvn, jrose
author | twisti |
---|---|
date | Mon, 11 Oct 2010 04:18:58 -0700 |
parents | d5d065957597 |
children | 3b2dea75431e |
comparison
equal
deleted
inserted
replaced
1845:a222fcfba398 | 1846:d55217dc206f |
---|---|
3271 // Make sure we don't need to mask Rret for tosBits after the above shift | 3271 // Make sure we don't need to mask Rret for tosBits after the above shift |
3272 ConstantPoolCacheEntry::verify_tosBits(); | 3272 ConstantPoolCacheEntry::verify_tosBits(); |
3273 __ sll(Rret, LogBytesPerWord, Rret); | 3273 __ sll(Rret, LogBytesPerWord, Rret); |
3274 __ ld_ptr(Rtemp, Rret, Rret); // get return address | 3274 __ ld_ptr(Rtemp, Rret, Rret); // get return address |
3275 | 3275 |
3276 __ ld_ptr(G5_callsite, __ delayed_value(java_dyn_CallSite::target_offset_in_bytes, Rscratch), G3_method_handle); | 3276 __ load_heap_oop(G5_callsite, __ delayed_value(java_dyn_CallSite::target_offset_in_bytes, Rscratch), G3_method_handle); |
3277 __ null_check(G3_method_handle); | 3277 __ null_check(G3_method_handle); |
3278 | 3278 |
3279 // Adjust Rret first so Llast_SP can be same as Rret | 3279 // Adjust Rret first so Llast_SP can be same as Rret |
3280 __ add(Rret, -frame::pc_return_offset, O7); | 3280 __ add(Rret, -frame::pc_return_offset, O7); |
3281 __ add(Lesp, BytesPerWord, Gargs); // setup parameter pointer | 3281 __ add(Lesp, BytesPerWord, Gargs); // setup parameter pointer |