From 92988ecdb6ca641ba39d1d1f8cbc57a89b63bbad Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 30 Jul 2003 05:29:45 +0000 Subject: [PATCH] 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 --- include/llvm/Target/MRegisterInfo.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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