mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6932496: c1: deoptimization of jsr subroutine fails on sparcv9
Store jsr ret bci as intptr constant in c1 debug info Reviewed-by: never
This commit is contained in:
parent
8f6df4c4af
commit
7dcf59914e
6 changed files with 77 additions and 8 deletions
|
@ -2479,6 +2479,15 @@ int LinearScan::append_scope_value_for_constant(LIR_Opr opr, GrowableArray<Scope
|
|||
return 2;
|
||||
}
|
||||
|
||||
case T_ADDRESS: {
|
||||
#ifdef _LP64
|
||||
scope_values->append(new ConstantLongValue(c->as_jint()));
|
||||
#else
|
||||
scope_values->append(new ConstantIntValue(c->as_jint()));
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
default:
|
||||
ShouldNotReachHere();
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue