diff -r e79347eebbc5 -r ea4a2ec31ae2 hotspot/src/share/vm/opto/type.hpp --- a/hotspot/src/share/vm/opto/type.hpp Sat Sep 10 17:29:02 2011 -0700 +++ b/hotspot/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