From: Chris Lattner Date: Wed, 30 Jul 2003 05:29:45 +0000 (+0000) Subject: Code generation passes don't need access to raw LLVM types, this method is unnecessary. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92988ecdb6ca641ba39d1d1f8cbc57a89b63bbad;p=oota-llvm.git 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 --- diff --git a/include/llvm/Target/MRegisterInfo.h b/include/llvm/Target/MRegisterInfo.h index 41fea08bf43..f0664c398ab 100644 --- a/include/llvm/Target/MRegisterInfo.h +++ b/include/llvm/Target/MRegisterInfo.h @@ -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