diff options
author | Evan Cheng <evan.cheng@apple.com> | 2012-07-02 22:39:56 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2012-07-02 22:39:56 +0000 |
commit | 39e90029a2a597afa22d81c5c8f47b6c49128058 (patch) | |
tree | f8c22b2604d64b73eabc2ebafc34e90f87fdef61 /llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | |
parent | 5c1a01a625e49edc0a159e6f96a5cf8e0d226248 (diff) | |
download | bcm5719-llvm-39e90029a2a597afa22d81c5c8f47b6c49128058.tar.gz bcm5719-llvm-39e90029a2a597afa22d81c5c8f47b6c49128058.zip |
Target option DisableJumpTables is a gross hack. Move it to TargetLowering instead.
llvm-svn: 159611
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCTargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCTargetMachine.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp b/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp index 4fbff58c8f3..980511268a3 100644 --- a/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp +++ b/llvm/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(); |