comparison src/share/vm/opto/graphKit.cpp @ 6846:377508648226

8000313: C2 should use jlong for 64bit values Summary: Replace all occurrences of long with jlong in C2 code. Reviewed-by: kvn, twisti
author vlivanov
date Mon, 08 Oct 2012 13:02:13 -0700
parents e626685e9f6c
children beebba0acc11
comparison
equal deleted inserted replaced
6845:9024b6b53ec2 6846:377508648226
1113 1113
1114 Node* GraphKit::ConvI2L(Node* offset) { 1114 Node* GraphKit::ConvI2L(Node* offset) {
1115 // short-circuit a common case 1115 // short-circuit a common case
1116 jint offset_con = find_int_con(offset, Type::OffsetBot); 1116 jint offset_con = find_int_con(offset, Type::OffsetBot);
1117 if (offset_con != Type::OffsetBot) { 1117 if (offset_con != Type::OffsetBot) {
1118 return longcon((long) offset_con); 1118 return longcon((jlong) offset_con);
1119 } 1119 }
1120 return _gvn.transform( new (C) ConvI2LNode(offset)); 1120 return _gvn.transform( new (C) ConvI2LNode(offset));
1121 } 1121 }
1122 Node* GraphKit::ConvL2I(Node* offset) { 1122 Node* GraphKit::ConvL2I(Node* offset) {
1123 // short-circuit a common case 1123 // short-circuit a common case