We should remove private directive from the end of the WTF_MAKE_FAST_ALLOCATED macro, because it can causes problems with structs. This solution isn't nice: struct a { WTF_MAKE_FAST_ALLOCATED public: int x; } Other way is to put the macro to the end of the struct: struct a { int x; WTF_MAKE_FAST_ALLOCATED } Or we can simply remove "private:" from the end of the macro. Almost every class contains access level directives explicitly, so removing shouldn't cause much problems.
Created attachment 71139 [details] proposed patch
Comment on attachment 71139 [details] proposed patch I've chosen the first solution since it is unambiguous. Closing as invalid.