< prev index next >

src/share/vm/c1/c1_LIRGenerator.hpp

Print this page
rev 9031 : 8138890: C1: Ambiguous operator delete
Summary: xlC on AIX rejects to compile LIRGenerator and RangeCheckEliminator::Verification
Reviewed-by: simonis, goetz, twisti

@@ -151,12 +151,17 @@
 };
 
 
 // only the classes below belong in the same file
 class LIRGenerator: public InstructionVisitor, public BlockClosure {
-
+ // LIRGenerator should never get instatiated on the heap.
  private:
+  void* operator new(size_t size) throw();
+  void* operator new[](size_t size) throw();
+  void operator delete(void* p);
+  void operator delete[](void* p);
+
   Compilation*  _compilation;
   ciMethod*     _method;    // method that we are compiling
   PhiResolverState  _resolver_state;
   BlockBegin*   _block;
   int           _virtual_register_number;
< prev index next >