mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-11 05:35:11 +00:00
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:
parent
6540c6c344
commit
942d7b5a68
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user