aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/opto/graphKit.cpp
diff options
context:
space:
mode:
authorvlivanov <none@none>2012-10-08 13:02:13 -0700
committervlivanov <none@none>2012-10-08 13:02:13 -0700
commitefa99f2958f833a3a9dc2d04a66ce28f6ecb071d (patch)
tree7ab1ec7544e112057e03f69948c80db2ed3b2c31 /src/share/vm/opto/graphKit.cpp
parent635e58df86f55c0732ad10f53737245bc2feb8f0 (diff)
8000313: C2 should use jlong for 64bit values
Summary: Replace all occurrences of long with jlong in C2 code. Reviewed-by: kvn, twisti
Diffstat (limited to 'src/share/vm/opto/graphKit.cpp')
-rw-r--r--src/share/vm/opto/graphKit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/vm/opto/graphKit.cpp b/src/share/vm/opto/graphKit.cpp
index 53130fd45..95d5357d7 100644
--- a/src/share/vm/opto/graphKit.cpp
+++ b/src/share/vm/opto/graphKit.cpp
@@ -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));
}