8144850: C1: operator delete needs an implementation

Reviewed-by: kvn
This commit is contained in:
Martin Doerr 2015-12-07 18:24:24 +01:00
parent 3db39e91be
commit ef1c3dc4ed
2 changed files with 4 additions and 4 deletions

View File

@ -157,8 +157,8 @@ class LIRGenerator: public InstructionVisitor, public BlockClosure {
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

View File

@ -50,8 +50,8 @@ private:
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;