mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Revert 109220.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109221 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a3bb24179
commit
6252f6ea11
@ -210,6 +210,30 @@ public:
|
||||
unsigned getOperandNo() const;
|
||||
};
|
||||
|
||||
|
||||
template<> struct simplify_type<value_use_iterator<User> > {
|
||||
typedef User* SimpleType;
|
||||
|
||||
static SimpleType getSimplifiedValue(const value_use_iterator<User> &Val) {
|
||||
return *Val;
|
||||
}
|
||||
};
|
||||
|
||||
template<> struct simplify_type<const value_use_iterator<User> >
|
||||
: public simplify_type<value_use_iterator<User> > {};
|
||||
|
||||
template<> struct simplify_type<value_use_iterator<const User> > {
|
||||
typedef const User* SimpleType;
|
||||
|
||||
static SimpleType getSimplifiedValue(const
|
||||
value_use_iterator<const User> &Val) {
|
||||
return *Val;
|
||||
}
|
||||
};
|
||||
|
||||
template<> struct simplify_type<const value_use_iterator<const User> >
|
||||
: public simplify_type<value_use_iterator<const User> > {};
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user