зеркало из https://github.com/mozilla/pjs.git
146018ea62
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.cpp | ||
mozalloc.h | ||
mozalloc_abort.cpp | ||
mozalloc_abort.h | ||
mozalloc_macro_wrappers.h | ||
mozalloc_oom.cpp | ||
mozalloc_oom.h | ||
mozalloc_undef_macro_wrappers.h | ||
msvc_raise_wrappers.cpp | ||
msvc_raise_wrappers.h | ||
msvc_throw_wrapper.cpp | ||
msvc_throw_wrapper.h | ||
throw_gcc.h | ||
throw_msvc.h |