aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
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/lib/Object/WasmObjectFile.cpp
parent89972e21f8971e86e0a9e32dc91ee868db195f80 (diff)
downloadllvm-15fccf00097dd5b07710539fb4e3ff68c50f44de.zip
llvm-15fccf00097dd5b07710539fb4e3ff68c50f44de.tar.gz
llvm-15fccf00097dd5b07710539fb4e3ff68c50f44de.tar.bz2
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/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions