Skip to content
  • Adam Nemet's avatar
    Allow ORE.emit to take a closure to delay building the remark object · 15fccf00
    Adam Nemet authored
    In the lambda we are now returning the remark by value so we need to preserve
    its type in the insertion operator.  This requires making the insertion
    operator generic.
    
    I've also converted a few cases to use the new API.  It seems to work pretty
    well.  See the LoopUnroller for a slightly more interesting case.
    
    llvm-svn: 313691
    15fccf00
Loading