mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8210803: Compilation failure in codeBlob.cpp for Windows 32-bit
Added ordinary operator delete declaration within class Reviewed-by: kvn, rlichten, thartmann
This commit is contained in:
parent
50dc5ef396
commit
3bef8642a4
1 changed files with 12 additions and 0 deletions
|
@ -393,6 +393,10 @@ class BufferBlob: public RuntimeBlob {
|
|||
BufferBlob(const char* name, int size);
|
||||
BufferBlob(const char* name, int size, CodeBuffer* cb);
|
||||
|
||||
// This ordinary operator delete is needed even though not used, so the
|
||||
// below two-argument operator delete will be treated as a placement
|
||||
// delete rather than an ordinary sized delete; see C++14 3.7.4.2/p2.
|
||||
void operator delete(void* p);
|
||||
void* operator new(size_t s, unsigned size) throw();
|
||||
|
||||
public:
|
||||
|
@ -476,6 +480,10 @@ class RuntimeStub: public RuntimeBlob {
|
|||
bool caller_must_gc_arguments
|
||||
);
|
||||
|
||||
// This ordinary operator delete is needed even though not used, so the
|
||||
// below two-argument operator delete will be treated as a placement
|
||||
// delete rather than an ordinary sized delete; see C++14 3.7.4.2/p2.
|
||||
void operator delete(void* p);
|
||||
void* operator new(size_t s, unsigned size) throw();
|
||||
|
||||
public:
|
||||
|
@ -511,6 +519,10 @@ class SingletonBlob: public RuntimeBlob {
|
|||
friend class VMStructs;
|
||||
|
||||
protected:
|
||||
// This ordinary operator delete is needed even though not used, so the
|
||||
// below two-argument operator delete will be treated as a placement
|
||||
// delete rather than an ordinary sized delete; see C++14 3.7.4.2/p2.
|
||||
void operator delete(void* p);
|
||||
void* operator new(size_t s, unsigned size) throw();
|
||||
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue