mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
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:
parent
2467d2f247
commit
b1d745897b
4 changed files with 25 additions and 25 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue