forked from OSchip/llvm-project
Allow CallSites to be used as the key of a map
llvm-svn: 9660
This commit is contained in:
parent
2b9926fc8e
commit
2e8d28d082
|
@ -83,6 +83,10 @@ public:
|
|||
return I->op_begin()+3; // Skip Function, BB, BB
|
||||
}
|
||||
arg_iterator arg_end() const { return I->op_end(); }
|
||||
|
||||
bool operator<(const CallSite &CS) const {
|
||||
return getInstruction() < CS.getInstruction();
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue