8000313: C2 should use jlong for 64bit values

Replace all occurrences of long with jlong in C2 code.

Reviewed-by: kvn, twisti
This commit is contained in:
Vladimir Ivanov 2012-10-08 13:02:13 -07:00
parent 2467d2f247
commit b1d745897b
4 changed files with 25 additions and 25 deletions

View file

@ -1115,7 +1115,7 @@ Node* GraphKit::ConvI2L(Node* offset) {
// short-circuit a common case
jint offset_con = find_int_con(offset, Type::OffsetBot);
if (offset_con != Type::OffsetBot) {
return longcon((long) offset_con);
return longcon((jlong) offset_con);
}
return _gvn.transform( new (C) ConvI2LNode(offset));
}