forked from OSchip/llvm-project
Code generation passes don't need access to raw LLVM types, this method is unnecessary.
llvm-svn: 7412
This commit is contained in:
parent
1de61e04fb
commit
a8f5df593b
|
@ -169,14 +169,13 @@ public:
|
|||
//
|
||||
|
||||
/// Register class iterators
|
||||
///
|
||||
regclass_iterator regclass_begin() const { return RegClassBegin; }
|
||||
regclass_iterator regclass_end() const { return RegClassEnd; }
|
||||
|
||||
unsigned getNumRegClasses() const {
|
||||
return regclass_end()-regclass_begin();
|
||||
}
|
||||
virtual const TargetRegisterClass* getRegClassForType(const Type* Ty) const=0;
|
||||
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// Interfaces used by the register allocator and stack frame manipulation
|
||||
|
|
Loading…
Reference in New Issue