| Index: Source/heap/Heap.h
|
| diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h
|
| index ebf4220f437325898ee099855df6299a55a2a859..340ba5b8a57eb1fcee8f2bc1d1f10485ac9dac57 100644
|
| --- a/Source/heap/Heap.h
|
| +++ b/Source/heap/Heap.h
|
| @@ -1008,6 +1008,12 @@ T* adoptRefCountedGarbageCollected(T* ptr)
|
| void* operator new(size_t);
|
| #endif
|
|
|
| +#define ALLOW_ONLY_INLINE_ALLOCATION() \
|
| + public: \
|
| + void* operator new(size_t, NotNullTag, void* location) { return location; } \
|
| + void* operator new(size_t, void* location) { return location; } \
|
| + DISALLOW_ALLOCATION()
|
| +
|
| NO_SANITIZE_ADDRESS
|
| void HeapObjectHeader::checkHeader() const
|
| {
|
|
|