aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/InterferenceCache.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-06-20 20:17:20 +0000
committerAndrew Trick <atrick@apple.com>2012-06-20 20:17:20 +0000
commitdbb7ae54b87e27920df7f4b3c7b3a87533b39125 (patch)
tree86a509f691f6211aab98ce4a2ab61d59a52fe12d /llvm/lib/CodeGen/InterferenceCache.cpp
parentfe5b84b404f381f613b9c4e1738ec7747d91733f (diff)
downloadllvm-dbb7ae54b87e27920df7f4b3c7b3a87533b39125.zip
llvm-dbb7ae54b87e27920df7f4b3c7b3a87533b39125.tar.gz
llvm-dbb7ae54b87e27920df7f4b3c7b3a87533b39125.tar.bz2
Add "extern template" declarations now that we use explicit instantiation.
This is supported by gcc and clang, but guarded by a macro for MSVC 2008. The extern template declaration is not necessary but generally good form. It can avoid extra instantiations of the template methods defined inline. The EXTERN_TEMPLATE_INSTANTIATION macro could probably be generalized to handle multiple template parameters if someone thinks it's worthwhile. llvm-svn: 158840
Diffstat (limited to 'llvm/lib/CodeGen/InterferenceCache.cpp')
0 files changed, 0 insertions, 0 deletions