--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.hpp Tue Dec 15 01:20:08 2015 +0100
+++ b/hotspot/src/share/vm/c1/c1_LIRGenerator.hpp Mon Dec 07 18:24:24 2015 +0100
@@ -157,8 +157,8 @@
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);
+ void operator delete(void* p) { ShouldNotReachHere(); }
+ void operator delete[](void* p) { ShouldNotReachHere(); }
Compilation* _compilation;
ciMethod* _method; // method that we are compiling
--- a/hotspot/src/share/vm/c1/c1_RangeCheckElimination.hpp Tue Dec 15 01:20:08 2015 +0100
+++ b/hotspot/src/share/vm/c1/c1_RangeCheckElimination.hpp Mon Dec 07 18:24:24 2015 +0100
@@ -50,8 +50,8 @@
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);
+ void operator delete(void* p) { ShouldNotReachHere(); }
+ void operator delete[](void* p) { ShouldNotReachHere(); }
IR *_ir;
boolArray _used;