mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
add a helper method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94012 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0bedd6ebb
commit
61186cd3a3
@ -82,6 +82,11 @@ public:
|
||||
/// TODO : Rename
|
||||
intptr_t getTypeInfo() const { return PassID; }
|
||||
|
||||
/// Return true if this PassID implements the specified ID pointer.
|
||||
bool isPassID(void *IDPtr) const {
|
||||
return PassID == (intptr_t)IDPtr;
|
||||
}
|
||||
|
||||
/// isAnalysisGroup - Return true if this is an analysis group, not a normal
|
||||
/// pass.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user