aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCTargetMachine.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2012-07-02 22:39:56 +0000
committerEvan Cheng <evan.cheng@apple.com>2012-07-02 22:39:56 +0000
commit769951f6cc6323821ce1e9f46a37817a541c884f (patch)
tree3a17953abfc70ac0085469191f4d130b199ae417 /lib/Target/PowerPC/PPCTargetMachine.cpp
parent1b055ce320fa13f6f1ac81670d11b45e01f79876 (diff)
downloadexternal_llvm-769951f6cc6323821ce1e9f46a37817a541c884f.tar.gz
external_llvm-769951f6cc6323821ce1e9f46a37817a541c884f.tar.bz2
external_llvm-769951f6cc6323821ce1e9f46a37817a541c884f.zip
Target option DisableJumpTables is a gross hack. Move it to TargetLowering instead.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159611 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/Target/PowerPC/PPCTargetMachine.cpp b/lib/Target/PowerPC/PPCTargetMachine.cpp
index 4fbff58c8f..980511268a 100644
--- a/lib/Target/PowerPC/PPCTargetMachine.cpp
+++ b/lib/Target/PowerPC/PPCTargetMachine.cpp
@@ -117,12 +117,6 @@ bool PPCPassConfig::addPreEmitPass() {
bool PPCTargetMachine::addCodeEmitter(PassManagerBase &PM,
JITCodeEmitter &JCE) {
- // FIXME: This should be moved to TargetJITInfo!!
- if (Subtarget.isPPC64())
- // Temporary workaround for the inability of PPC64 JIT to handle jump
- // tables.
- Options.DisableJumpTables = true;
-
// Inform the subtarget that we are in JIT mode. FIXME: does this break macho
// writing?
Subtarget.SetJITMode();