1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

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

Instead, let derived classes provide specialized ones.

llvm-svn: 18139
This commit is contained in:
Chris Lattner 2004-11-23 05:55:38 +00:00
parent 1b163867c6
commit 8e3800acc9

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);