hotspot/src/share/vm/asm/codeBuffer.hpp
changeset 6184 a017b5ba6782
parent 6176 4d9030fe341f
parent 6180 53c1bf468c81
child 6418 6671edbd230e
--- a/hotspot/src/share/vm/asm/codeBuffer.hpp	Tue Aug 03 08:13:38 2010 -0400
+++ b/hotspot/src/share/vm/asm/codeBuffer.hpp	Mon Aug 09 17:51:56 2010 -0700
@@ -278,7 +278,7 @@
   // special case during expansion which is handled internally.  This
   // is done to guarantee proper cleanup of resources.
   void* operator new(size_t size) { return ResourceObj::operator new(size); }
-  void  operator delete(void* p)  {        ResourceObj::operator delete(p); }
+  void  operator delete(void* p)  { ShouldNotCallThis(); }
 
  public:
   typedef int csize_t;  // code size type; would be size_t except for history