Mercurial > hg > graal-jvmci-8
comparison src/cpu/sparc/vm/c1_LIRGenerator_sparc.cpp @ 1791:3a294e483abc
6919069: client compiler needs to capture more profile information for tiered work
Summary: Added profiling of instanceof and aastore.
Reviewed-by: kvn, jrose, never
author | iveresov |
---|---|
date | Mon, 13 Sep 2010 12:10:49 -0700 |
parents | d5d065957597 |
children | f02a8bbe6ed4 |
comparison
equal
deleted
inserted
replaced
1790:7f9553bedfd5 | 1791:3a294e483abc |
---|---|
1045 obj.load_item(); | 1045 obj.load_item(); |
1046 LIR_Opr out_reg = rlock_result(x); | 1046 LIR_Opr out_reg = rlock_result(x); |
1047 LIR_Opr tmp1 = FrameMap::G1_oop_opr; | 1047 LIR_Opr tmp1 = FrameMap::G1_oop_opr; |
1048 LIR_Opr tmp2 = FrameMap::G3_oop_opr; | 1048 LIR_Opr tmp2 = FrameMap::G3_oop_opr; |
1049 LIR_Opr tmp3 = FrameMap::G4_oop_opr; | 1049 LIR_Opr tmp3 = FrameMap::G4_oop_opr; |
1050 __ instanceof(out_reg, obj.result(), x->klass(), tmp1, tmp2, tmp3, x->direct_compare(), patching_info); | 1050 __ instanceof(out_reg, obj.result(), x->klass(), tmp1, tmp2, tmp3, |
1051 x->direct_compare(), patching_info, | |
1052 x->profiled_method(), x->profiled_bci()); | |
1051 } | 1053 } |
1052 | 1054 |
1053 | 1055 |
1054 void LIRGenerator::do_If(If* x) { | 1056 void LIRGenerator::do_If(If* x) { |
1055 assert(x->number_of_sux() == 2, "inconsistency"); | 1057 assert(x->number_of_sux() == 2, "inconsistency"); |