changeset 13967 | bf7c8dfb5121 |
parent 13895 | f6dfe4123709 |
child 14621 | fd9265ab0f67 |
--- a/hotspot/src/share/vm/opto/graphKit.cpp Fri Oct 05 19:44:49 2012 -0700 +++ b/hotspot/src/share/vm/opto/graphKit.cpp Mon Oct 08 13:02:13 2012 -0700 @@ -1115,7 +1115,7 @@ // 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)); }