forked from mirrors/gecko-dev
For wasm-gc code that allocates many arrays and structs-with-OOL-storage, the
methods MallocedBlockCache::{alloc,free} and
Nursery::{registerTrailer,unregisterTrailer} are hot. This patch makes these
4 methods inlineable. MallocedBlockCache::alloc is also split into a hot and
cold path; only the hot path is inlined. These changes cut 5%-7% off the
number of instructions needed to allocate small arrays.
Differential Revision: https://phabricator.services.mozilla.com/D183248
|
||
|---|---|---|
| .. | ||
| examples | ||
| loader | ||
| public | ||
| src | ||
| xpconnect | ||
| app.mozbuild | ||
| ffi.configure | ||
| moz.build | ||
| moz.configure | ||
| sub.configure | ||