Code generation passes don't need access to raw LLVM types, this method is unnecessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7412 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2003-07-30 05:29:45 +00:00
parent 18226e0cf1
commit 92988ecdb6

View File

@ -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