forked from OSchip/llvm-project
turn off GOT on archs that didn't use it (not that it appeard to harm them much with it on)
llvm-svn: 22553
This commit is contained in:
parent
bc85c32c73
commit
2f9c52e194
|
@ -23,7 +23,7 @@ namespace llvm {
|
|||
protected:
|
||||
TargetMachine &TM;
|
||||
public:
|
||||
PowerPCJITInfo(TargetMachine &tm) : TM(tm) {}
|
||||
PowerPCJITInfo(TargetMachine &tm) : TM(tm) {useGOT = 0;}
|
||||
|
||||
/// addPassesToJITCompile - Add passes to the specified pass manager to
|
||||
/// implement a fast dynamic compiler for this target. Return true if this
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace llvm {
|
|||
class SparcV9JITInfo : public TargetJITInfo {
|
||||
TargetMachine &TM;
|
||||
public:
|
||||
SparcV9JITInfo(TargetMachine &tm) : TM(tm) {}
|
||||
SparcV9JITInfo(TargetMachine &tm) : TM(tm) {useGOT = 0;}
|
||||
|
||||
/// addPassesToJITCompile - Add passes to the specified pass manager to
|
||||
/// implement a fast dynamic compiler for this target. Return true if this
|
||||
|
|
|
@ -23,7 +23,7 @@ namespace llvm {
|
|||
class X86JITInfo : public TargetJITInfo {
|
||||
TargetMachine &TM;
|
||||
public:
|
||||
X86JITInfo(TargetMachine &tm) : TM(tm) {}
|
||||
X86JITInfo(TargetMachine &tm) : TM(tm) {useGOT = 0;}
|
||||
|
||||
/// addPassesToJITCompile - Add passes to the specified pass manager to
|
||||
/// implement a fast dynamic compiler for this target. Return true if this
|
||||
|
|
Loading…
Reference in New Issue