mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user