Do not provide the non-specialized PowerPCJITInfo object, it is pretty useless.

Instead, let derived classes provide specialized ones.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18139 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-11-23 05:55:38 +00:00
parent 6540c6c344
commit 942d7b5a68

View File

@ -15,7 +15,6 @@
#define POWERPC_TARGETMACHINE_H
#include "PowerPCFrameInfo.h"
#include "PowerPCJITInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/PassManager.h"
#include <set>
@ -27,19 +26,12 @@ class IntrinsicLowering;
class PowerPCTargetMachine : public TargetMachine {
PowerPCFrameInfo FrameInfo;
PowerPCJITInfo JITInfo;
protected:
PowerPCTargetMachine(const std::string &name, IntrinsicLowering *IL,
const TargetData &TD, const PowerPCFrameInfo &TFI,
const PowerPCJITInfo &TJI);
const TargetData &TD, const PowerPCFrameInfo &TFI);
public:
virtual const TargetFrameInfo *getFrameInfo() const { return &FrameInfo; }
virtual TargetJITInfo *getJITInfo() {
return &JITInfo;
}
static unsigned getJITMatchQuality();
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);