forked from OSchip/llvm-project
parent
399e1101ba
commit
37f10d4aeb
|
@ -41,13 +41,13 @@ public:
|
||||||
typedef typename NodeVectorType::const_iterator const_iterator;
|
typedef typename NodeVectorType::const_iterator const_iterator;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
typedef enum {
|
enum QueryResult {
|
||||||
Same = -3,
|
Same = -3,
|
||||||
StringIsPrefix = -2,
|
StringIsPrefix = -2,
|
||||||
LabelIsPrefix = -1,
|
LabelIsPrefix = -1,
|
||||||
DontMatch = 0,
|
DontMatch = 0,
|
||||||
HaveCommonPart
|
HaveCommonPart
|
||||||
} QueryResult;
|
};
|
||||||
|
|
||||||
struct NodeCmp {
|
struct NodeCmp {
|
||||||
bool operator() (Node* N1, Node* N2) {
|
bool operator() (Node* N1, Node* N2) {
|
||||||
|
|
|
@ -66,8 +66,6 @@ enum PassManagerType {
|
||||||
PMT_Last
|
PMT_Last
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef enum PassManagerType PassManagerType;
|
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
/// Pass interface - Implemented by all 'passes'. Subclass this if you are an
|
/// Pass interface - Implemented by all 'passes'. Subclass this if you are an
|
||||||
/// interprocedural optimization or you do not fit into any of the more
|
/// interprocedural optimization or you do not fit into any of the more
|
||||||
|
|
Loading…
Reference in New Issue