1) Thread::GetAllocContext is not inlined. Could be fixable if we link against the runtime built with LTO, or simply by moving the definition to some header.
2) AllocateObjectis inlined, which is unnecessary. Could probably save some bytes by marking it noinline.
I happened to look at the WASM they produce, and it's not ideal:
1)
Thread::GetAllocContext
is not inlined. Could be fixable if we link against the runtime built with LTO, or simply by moving the definition to some header. 2)AllocateObject
is inlined, which is unnecessary. Could probably save some bytes by marking it noinline.