Mercurial > hg > truffle
comparison src/share/vm/oops/constantPoolOop.cpp @ 513:2328d1d3f8cf
6781583: Hotspot build fails on linux 64 bit platform with gcc 4.3.2
Summary: Fixed the wrong cast between types since more restrictions are imposed by gcc 4.3.2
Reviewed-by: jcoomes, acorn, phh, never
author | xlu |
---|---|
date | Wed, 24 Dec 2008 19:13:53 -0800 |
parents | a45484ea312d |
children | fc7ab6287598 |
comparison
equal
deleted
inserted
replaced
512:db4caa99ef11 | 513:2328d1d3f8cf |
---|---|
960 ent_size = 4; | 960 ent_size = 4; |
961 break; | 961 break; |
962 } | 962 } |
963 case JVM_CONSTANT_Long: { | 963 case JVM_CONSTANT_Long: { |
964 u8 val = Bytes::get_Java_u8(bytes); | 964 u8 val = Bytes::get_Java_u8(bytes); |
965 printf("long %lldl", *(jlong *) &val); | 965 printf("long "INT64_FORMAT, *(jlong *) &val); |
966 ent_size = 8; | 966 ent_size = 8; |
967 idx++; // Long takes two cpool slots | 967 idx++; // Long takes two cpool slots |
968 break; | 968 break; |
969 } | 969 } |
970 case JVM_CONSTANT_Double: { | 970 case JVM_CONSTANT_Double: { |