mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
d9cce21d61
If new doesn't throw bad_alloc the compiler emits a null check after to avoid calling the constructor. http://llvm.org/bugs/show_bug.cgi?id=10895 Adding throw(std::bad_alloc) shaves 57KB of .text off a gcc mac build and 61KB off a clang build. --HG-- extra : rebase_source : 098c1f5df472bcc572b812fe5d4f12c8eadf14d2 |
||
---|---|---|
.. | ||
Makefile.in | ||
mozalloc_abort.cpp | ||
mozalloc_abort.h | ||
mozalloc_macro_wrappers.h | ||
mozalloc_oom.cpp | ||
mozalloc_oom.h | ||
mozalloc_undef_macro_wrappers.h | ||
mozalloc.cpp | ||
mozalloc.h | ||
msvc_raise_wrappers.cpp | ||
msvc_raise_wrappers.h | ||
msvc_throw_wrapper.cpp | ||
msvc_throw_wrapper.h | ||
throw_gcc.h | ||
throw_msvc.h |