hotspot/src/share/vm/c1/c1_LIRGenerator.hpp
changeset 33626 3c94db05e903
parent 33589 7cbd1b2c139b
parent 33465 6063f28a6efb
child 34201 2de6f3566659
--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.hpp	Fri Oct 30 00:02:37 2015 +0100
+++ b/hotspot/src/share/vm/c1/c1_LIRGenerator.hpp	Thu Nov 05 19:31:57 2015 +0100
@@ -153,8 +153,13 @@
 
 // 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);
 
- private:
   Compilation*  _compilation;
   ciMethod*     _method;    // method that we are compiling
   PhiResolverState  _resolver_state;
@@ -244,7 +249,7 @@
   void do_getClass(Intrinsic* x);
   void do_currentThread(Intrinsic* x);
   void do_MathIntrinsic(Intrinsic* x);
-  void do_ExpIntrinsic(Intrinsic* x);
+  void do_LibmIntrinsic(Intrinsic* x);
   void do_ArrayCopy(Intrinsic* x);
   void do_CompareAndSwap(Intrinsic* x, ValueType* type);
   void do_NIOCheckIndex(Intrinsic* x);