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

llvm-svn: 7412
This commit is contained in:
Chris Lattner 2003-07-30 05:29:45 +00:00
parent 1de61e04fb
commit a8f5df593b
1 changed files with 1 additions and 2 deletions

View File

@ -169,14 +169,13 @@ public:
// //
/// Register class iterators /// Register class iterators
///
regclass_iterator regclass_begin() const { return RegClassBegin; } regclass_iterator regclass_begin() const { return RegClassBegin; }
regclass_iterator regclass_end() const { return RegClassEnd; } regclass_iterator regclass_end() const { return RegClassEnd; }
unsigned getNumRegClasses() const { unsigned getNumRegClasses() const {
return regclass_end()-regclass_begin(); return regclass_end()-regclass_begin();
} }
virtual const TargetRegisterClass* getRegClassForType(const Type* Ty) const=0;
//===--------------------------------------------------------------------===// //===--------------------------------------------------------------------===//
// Interfaces used by the register allocator and stack frame manipulation // Interfaces used by the register allocator and stack frame manipulation