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:
Roland Westrelin 2010-03-05 13:58:34 +01:00
parent 8f6df4c4af
commit 7dcf59914e
6 changed files with 77 additions and 8 deletions

View file

@ -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;