summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-05-03 23:29:10 +0000
committerDouglas Gregor <dgregor@apple.com>2010-05-03 23:29:10 +0000
commit1bd7a944600083821afe54ca9366863d40f6990a (patch)
treed5fb1621e5a5881bba6afd09be32aba877d4cf63 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
parent81bfca7bde5f5bdf14df8625fc461f75f8c4e929 (diff)
downloadbcm5719-llvm-1bd7a944600083821afe54ca9366863d40f6990a.tar.gz
bcm5719-llvm-1bd7a944600083821afe54ca9366863d40f6990a.zip
When computing the template arguments for the instantiation of a
friend function template, be sure to adjust the computed template argument lists based on the location of the definition of the function template: it's possible that the definition we're instantiating with and the template declaration that we found when creating the specialization are in different contexts, which meant that we would end up using the wrong template arguments for instantiation. Fixes PR7013; all Boost.DynamicBitset tests now pass. llvm-svn: 102974
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud