mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Delete the Matchers stored in the SmallVectors in SwitchOpcodeMatcher/SwitchTypeMatcher.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200377 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -505,6 +505,7 @@ class SwitchOpcodeMatcher : public Matcher {
|
||||
public:
|
||||
SwitchOpcodeMatcher(ArrayRef<std::pair<const SDNodeInfo*, Matcher*> > cases)
|
||||
: Matcher(SwitchOpcode), Cases(cases.begin(), cases.end()) {}
|
||||
virtual ~SwitchOpcodeMatcher();
|
||||
|
||||
static inline bool classof(const Matcher *N) {
|
||||
return N->getKind() == SwitchOpcode;
|
||||
@@ -558,6 +559,7 @@ class SwitchTypeMatcher : public Matcher {
|
||||
public:
|
||||
SwitchTypeMatcher(ArrayRef<std::pair<MVT::SimpleValueType, Matcher*> > cases)
|
||||
: Matcher(SwitchType), Cases(cases.begin(), cases.end()) {}
|
||||
virtual ~SwitchTypeMatcher();
|
||||
|
||||
static inline bool classof(const Matcher *N) {
|
||||
return N->getKind() == SwitchType;
|
||||
|
Reference in New Issue
Block a user