PowerPCRegisterInfo no longer takes a bool to differentiate 32 vs 64 bits

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15854 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2004-08-17 05:02:18 +00:00
parent db50bd3e7a
commit 3d58b8f531

View File

@ -11,22 +11,19 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
#ifndef POWERPCREGISTERINFO_H #ifndef POWERPC_REGISTERINFO_H
#define POWERPCREGISTERINFO_H #define POWERPC_REGISTERINFO_H
#include "llvm/Target/MRegisterInfo.h" #include "llvm/Target/MRegisterInfo.h"
#include "PowerPCGenRegisterInfo.h.inc"
#include <map>
namespace llvm { namespace llvm {
class Type; class Type;
class PowerPCRegisterInfo : public PowerPCGenRegisterInfo { class PowerPCRegisterInfo : public PowerPCGenRegisterInfo {
bool is64bit;
std::map<unsigned, unsigned> ImmToIdxMap; std::map<unsigned, unsigned> ImmToIdxMap;
public: public:
PowerPCRegisterInfo(bool is64b); PowerPCRegisterInfo();
const TargetRegisterClass* getRegClassForType(const Type* Ty) const; const TargetRegisterClass* getRegClassForType(const Type* Ty) const;
/// Code Generation virtual methods... /// Code Generation virtual methods...