Skip to content
  • Ömer Sinan Ağacan's avatar
    Minor refactoring in copy array primops: · 5730f863
    Ömer Sinan Ağacan authored and Marge Bot's avatar Marge Bot committed
    - `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` and `emitCopyArray` read the `dflags`
      after checking the argument.
    5730f863