diff -r e6b1331a51d2 -r f6f3bb0ee072 src/share/vm/opto/type.hpp --- a/src/share/vm/opto/type.hpp Sat Sep 10 17:29:02 2011 -0700 +++ b/src/share/vm/opto/type.hpp Sun Sep 11 14:48:24 2011 -0700 @@ -64,6 +64,8 @@ // different kind of Type exists. Types are never modified after creation, so // all their interesting fields are constant. class Type { + friend class VMStructs; + public: enum TYPES { Bad=0, // Type check