summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/BinaryFormat/Wasm.h
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2017-09-19 23:00:55 +0000
committerAdam Nemet <anemet@apple.com>2017-09-19 23:00:55 +0000
commit15fccf00097dd5b07710539fb4e3ff68c50f44de (patch)
tree4cf3c7bc18bb6eb3e9d534c9fb2acab9429252cc /llvm/include/llvm/BinaryFormat/Wasm.h
parent89972e21f8971e86e0a9e32dc91ee868db195f80 (diff)
downloadbcm5719-llvm-15fccf00097dd5b07710539fb4e3ff68c50f44de.tar.gz
bcm5719-llvm-15fccf00097dd5b07710539fb4e3ff68c50f44de.zip
Allow ORE.emit to take a closure to delay building the remark object
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
Diffstat (limited to 'llvm/include/llvm/BinaryFormat/Wasm.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud