| Index: tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| diff --git a/tools/clang/blink_gc_plugin/tests/heap/stubs.h b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| index 1d4a5cd5f5ef305ffc994eefe84d0e56bd506d2c..6914b4a344d7a23025bd45c99f73a2118c42865b 100644
|
| --- a/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| +++ b/tools/clang/blink_gc_plugin/tests/heap/stubs.h
|
| @@ -72,12 +72,14 @@ using namespace WTF;
|
|
|
| #define DISALLOW_ALLOCATION() \
|
| private: \
|
| - void* operator new(size_t) = delete;
|
| -
|
| -#define STACK_ALLOCATED() \
|
| - private: \
|
| - __attribute__((annotate("blink_stack_allocated"))) \
|
| - void* operator new(size_t) = delete;
|
| + void* operator new(size_t) = delete; \
|
| + void* operator new(size_t, void*) = delete;
|
| +
|
| +#define STACK_ALLOCATED() \
|
| + private: \
|
| + __attribute__((annotate("blink_stack_allocated"))) \
|
| + void* operator new(size_t) = delete; \
|
| + void* operator new(size_t, void*) = delete;
|
|
|
| #define GC_PLUGIN_IGNORE(bug) \
|
| __attribute__((annotate("blink_gc_plugin_ignore")))
|
|
|