mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-05 23:54:13 +00:00
Review comments
This commit is contained in:
parent
57ac758b3d
commit
27ab3b6082
@ -2930,7 +2930,7 @@ void LIRGenerator::do_Goto(Goto* x) {
|
||||
}
|
||||
LIR_Opr md_reg = new_register(T_METADATA);
|
||||
#ifdef RANDOMIZED_PROFILE_CAPTURE
|
||||
LIR_Opr tmp = new_register(wordSize == 4 ? T_INT : T_LONG);
|
||||
LIR_Opr tmp = new_pointer_register();
|
||||
LIR_Opr inc = LIR_OprFact::intConst(DataLayout::counter_increment);
|
||||
__ increment_counter(inc, tmp, md_reg, md->constant_encoding(), offset);
|
||||
#else
|
||||
@ -3913,7 +3913,7 @@ void LIRGenerator::increment_event_counter_impl(CodeEmitInfo* info,
|
||||
ShouldNotReachHere();
|
||||
}
|
||||
|
||||
LIR_Opr result = new_register(wordSize == 4 ? T_INT : T_LONG);
|
||||
LIR_Opr result = new_pointer_register();
|
||||
if (notify && (!backedge || UseOnStackReplacement)) {
|
||||
int ratio_shift = exact_log2(ProfileCaptureRatio);
|
||||
LIR_Opr meth = LIR_OprFact::metadataConst(method->constant_encoding());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user