diff src/share/vm/ci/ciObjectFactory.hpp @ 3939:f6f3bb0ee072

7088955: add C2 IR support to the SA Reviewed-by: kvn
author never
date Sun, 11 Sep 2011 14:48:24 -0700
parents 1d1603768966
children 5eb9169b1a14
line wrap: on
line diff
--- a/src/share/vm/ci/ciObjectFactory.hpp	Sat Sep 10 17:29:02 2011 -0700
+++ b/src/share/vm/ci/ciObjectFactory.hpp	Sun Sep 11 14:48:24 2011 -0700
@@ -36,6 +36,9 @@
 // which ensures that for each oop, at most one ciObject is created.
 // This invariant allows efficient implementation of ciObject.
 class ciObjectFactory : public ResourceObj {
+  friend class VMStructs;
+  friend class ciEnv;
+
 private:
   static volatile bool _initialized;
   static GrowableArray<ciObject*>* _shared_ci_objects;