Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/templateTable_sparc.cpp @ 7402:fd74228fd5ca
8004076: Move _max_locals and _size_of_parameters to ConstMethod for better sharing.
Summary: Move _max_locals and _size_of_parameters to ConstMethod for better sharing.
Reviewed-by: coleenp, minqi, jrose
author | jiangli |
---|---|
date | Tue, 11 Dec 2012 12:41:31 -0500 |
parents | 6e5a59a8e4a7 |
children | db9981fd3124 |
comparison
equal
deleted
inserted
replaced
7396:4a2ed49abd51 | 7402:fd74228fd5ca |
---|---|
3038 | 3038 |
3039 void TemplateTable::invokevfinal_helper(Register Rscratch, Register Rret) { | 3039 void TemplateTable::invokevfinal_helper(Register Rscratch, Register Rret) { |
3040 Register Rtemp = G4_scratch; | 3040 Register Rtemp = G4_scratch; |
3041 | 3041 |
3042 // Load receiver from stack slot | 3042 // Load receiver from stack slot |
3043 __ lduh(G5_method, in_bytes(Method::size_of_parameters_offset()), G4_scratch); | 3043 __ ld_ptr(G5_method, in_bytes(Method::const_offset()), G4_scratch); |
3044 __ lduh(G4_scratch, in_bytes(ConstMethod::size_of_parameters_offset()), G4_scratch); | |
3044 __ load_receiver(G4_scratch, O0); | 3045 __ load_receiver(G4_scratch, O0); |
3045 | 3046 |
3046 // receiver NULL check | 3047 // receiver NULL check |
3047 __ null_check(O0); | 3048 __ null_check(O0); |
3048 | 3049 |