Minor refactoring in copy array primops:
-
emitCopySmallArray
now checks size before generating code and doesn't generate any code when size is 0.emitCopyArray
already does this so this makes small/large array cases the same in argument checking. -
In both
emitCopySmallArray
andemitCopyArray
read thedflags
after checking the argument.