Detemplatize LOHDirective.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 29 Mar 2014 19:21:20 +0000 (19:21 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 29 Mar 2014 19:21:20 +0000 (19:21 +0000)
commit190e0a1d6310f575c076e6062de221f12f05409f
treeac718638d5b2c2c794e3f4b35d5c37a74b62b404
parent17576b2e165286dbc4e406c2dac93cc4ca8a823b
Detemplatize LOHDirective.

The ARM64 backend uses it only as a container to keep an MCLOHType and
Arguments around so give it its own little copy. The other functionality
isn't used and we had a crazy method specialization hack in place to
keep it working. Unfortunately that was incompatible with MSVC.

Also range-ify a couple of loops while at it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205114 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCLinkerOptimizationHint.h
lib/MC/MCLinkerOptimizationHint.cpp
lib/Target/ARM64/ARM64AsmPrinter.cpp
lib/Target/ARM64/ARM64MachineFunctionInfo.h