turn off GOT on archs that didn't use it (not that it appeard to harm them much with it on)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22553 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Andrew Lenharth 2005-07-29 23:32:02 +00:00
parent 5d06b8caae
commit 422f3d58a8
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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