Skip to content

Commit d7d71e6

Browse files
committed
8396495: Remove duplicated code in the LIR_Assembler::const2reg
Reviewed-by: chagedorn, thartmann, kvn
1 parent 8379008 commit d7d71e6

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎src/hotspot/cpu/x86/c1_LIRAssembler_x86.cpp‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -581,15 +581,6 @@ void LIR_Assembler::const2reg(LIR_Opr src, LIR_Opr dest, LIR_PatchCode patch_cod
581581
}
582582

583583
case T_LONG: {
584-
#if INCLUDE_CDS
585-
if (AOTCodeCache::is_on_for_dump()) {
586-
address b = c->as_pointer();
587-
if (b == (address)ThreadIdentifier::unsafe_offset()) {
588-
__ lea(dest->as_register_lo(), ExternalAddress(b));
589-
break;
590-
}
591-
}
592-
#endif
593584
assert(patch_code == lir_patch_none, "no patching handled here");
594585
#if INCLUDE_CDS
595586
if (AOTCodeCache::is_on_for_dump()) {

0 commit comments

Comments
 (0)