comparison src/share/vm/c1/c1_LIRGenerator.cpp @ 17628:add2caa66e7e

8026253: New type profiling points: sparc support Summary: c1 and interpreter support for new type profiling on sparc Reviewed-by: kvn, twisti
author roland
date Tue, 14 Jan 2014 14:51:47 +0100
parents e6ba215af802
children d8041d695d19 3c3953fb3f2a ce9fd31ffd14
comparison
equal deleted inserted replaced
17627:d7773b29c65a 17628:add2caa66e7e
3286 3286
3287 bool ignored_will_link; 3287 bool ignored_will_link;
3288 ciSignature* signature_at_call = NULL; 3288 ciSignature* signature_at_call = NULL;
3289 x->method()->get_method_at_bci(bci, ignored_will_link, &signature_at_call); 3289 x->method()->get_method_at_bci(bci, ignored_will_link, &signature_at_call);
3290 3290
3291 ciKlass* exact = profile_type(md, 0, md->byte_offset_of_slot(data, ret->type_offset()), 3291 // The offset within the MDO of the entry to update may be too large
3292 // to be used in load/store instructions on some platforms. So have
3293 // profile_type() compute the address of the profile in a register.
3294 ciKlass* exact = profile_type(md, md->byte_offset_of_slot(data, ret->type_offset()), 0,
3292 ret->type(), x->ret(), mdp, 3295 ret->type(), x->ret(), mdp,
3293 !x->needs_null_check(), 3296 !x->needs_null_check(),
3294 signature_at_call->return_type()->as_klass(), 3297 signature_at_call->return_type()->as_klass(),
3295 x->callee()->signature()->return_type()->as_klass()); 3298 x->callee()->signature()->return_type()->as_klass());
3296 if (exact != NULL) { 3299 if (exact != NULL) {