mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Forward the Function based getSubtarget call to the appropriate Impl
call. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232881 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b793348a99
commit
f2b4a7f862
@ -124,8 +124,8 @@ public:
|
||||
template<typename STC> const STC &getSubtarget() const {
|
||||
return *static_cast<const STC*>(getSubtargetImpl());
|
||||
}
|
||||
template <typename STC> const STC &getSubtarget(const Function &) const {
|
||||
return *static_cast<const STC*>(getSubtargetImpl());
|
||||
template <typename STC> const STC &getSubtarget(const Function &F) const {
|
||||
return *static_cast<const STC*>(getSubtargetImpl(F));
|
||||
}
|
||||
|
||||
/// getDataLayout - This method returns a pointer to the DataLayout for
|
||||
|
Loading…
Reference in New Issue
Block a user