mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
7195816: NPG: Crash in c1_ValueType - ShouldNotReachHere
C1 needs knowledge of T_METADATA at the LIR level. Reviewed-by: kvn, coleenp
This commit is contained in:
parent
b979c4ebe0
commit
08757b8a99
19 changed files with 242 additions and 34 deletions
|
@ -2067,6 +2067,12 @@ LIR_Opr LinearScan::calc_operand_for_interval(const Interval* interval) {
|
|||
return LIR_OprFact::single_cpu_address(assigned_reg);
|
||||
}
|
||||
|
||||
case T_METADATA: {
|
||||
assert(assigned_reg >= pd_first_cpu_reg && assigned_reg <= pd_last_cpu_reg, "no cpu register");
|
||||
assert(interval->assigned_regHi() == any_reg, "must not have hi register");
|
||||
return LIR_OprFact::single_cpu_metadata(assigned_reg);
|
||||
}
|
||||
|
||||
#ifdef __SOFTFP__
|
||||
case T_FLOAT: // fall through
|
||||
#endif // __SOFTFP__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue