Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/oopsHierarchy.hpp @ 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 | d1605aabd0a1 |
children | 0fbdb4381b99 |
comparison
equal
deleted
inserted
replaced
512:db4caa99ef11 | 513:2328d1d3f8cf |
---|---|
124 | 124 |
125 // from javaCalls.cpp | 125 // from javaCalls.cpp |
126 operator jobject () const { return (jobject)obj(); } | 126 operator jobject () const { return (jobject)obj(); } |
127 // from javaClasses.cpp | 127 // from javaClasses.cpp |
128 operator JavaThread* () const { return (JavaThread*)obj(); } | 128 operator JavaThread* () const { return (JavaThread*)obj(); } |
129 | |
130 #ifndef _LP64 | |
129 // from jvm.cpp | 131 // from jvm.cpp |
130 operator jlong* () const { return (jlong*)obj(); } | 132 operator jlong* () const { return (jlong*)obj(); } |
133 #endif | |
131 | 134 |
132 // from parNewGeneration and other things that want to get to the end of | 135 // from parNewGeneration and other things that want to get to the end of |
133 // an oop for stuff (like constMethodKlass.cpp, objArrayKlass.cpp) | 136 // an oop for stuff (like constMethodKlass.cpp, objArrayKlass.cpp) |
134 operator oop* () const { return (oop *)obj(); } | 137 operator oop* () const { return (oop *)obj(); } |
135 }; | 138 }; |