diff options
author | Andrew Lenharth <andrewl@lenharth.org> | 2005-07-29 23:32:02 +0000 |
---|---|---|
committer | Andrew Lenharth <andrewl@lenharth.org> | 2005-07-29 23:32:02 +0000 |
commit | 422f3d58a8a9d346e0bb34f77c30184b0dfc2838 (patch) | |
tree | 8dcd41fcd74ec7a6a32ee4f753d193b6b78c92db | |
parent | 5d06b8caae98be3a7c18cc37343533416b2d7b77 (diff) |
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
-rw-r--r-- | lib/Target/PowerPC/PPCJITInfo.h | 2 | ||||
-rw-r--r-- | lib/Target/SparcV9/SparcV9JITInfo.h | 2 | ||||
-rw-r--r-- | lib/Target/X86/X86JITInfo.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/PowerPC/PPCJITInfo.h b/lib/Target/PowerPC/PPCJITInfo.h index 09659521c7..e91bff2769 100644 --- a/lib/Target/PowerPC/PPCJITInfo.h +++ b/lib/Target/PowerPC/PPCJITInfo.h @@ -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 diff --git a/lib/Target/SparcV9/SparcV9JITInfo.h b/lib/Target/SparcV9/SparcV9JITInfo.h index a72e82d5b0..8bbb2d9358 100644 --- a/lib/Target/SparcV9/SparcV9JITInfo.h +++ b/lib/Target/SparcV9/SparcV9JITInfo.h @@ -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 diff --git a/lib/Target/X86/X86JITInfo.h b/lib/Target/X86/X86JITInfo.h index 2d2f056fe5..b240674e63 100644 --- a/lib/Target/X86/X86JITInfo.h +++ b/lib/Target/X86/X86JITInfo.h @@ -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 |