Test #8851.
Allocate statically-sized arrays inline (checkpoint)
Refactor emitCloneArray code
Another check point
Allow some out-of-line primops to have inline versions

An out-of-line primop can provide an inline version e.g. in cases
where we have extra static information that would allow us to emit a
more efficient inline version.