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 | 769951f6cc6323821ce1e9f46a37817a541c884f (patch) | |
tree | 3a17953abfc70ac0085469191f4d130b199ae417 /tools/llc/llc.cpp | |
parent | 1b055ce320fa13f6f1ac81670d11b45e01f79876 (diff) |
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 'tools/llc/llc.cpp')
-rw-r--r-- | tools/llc/llc.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 5adfacb43a..90b0245a87 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -233,11 +233,6 @@ EnableRealignStack("realign-stack", cl::desc("Realign stack if needed"), cl::init(true)); -static cl::opt<bool> -DisableSwitchTables(cl::Hidden, "disable-jump-tables", - cl::desc("Do not generate jump tables."), - cl::init(false)); - static cl::opt<std::string> TrapFuncName("trap-func", cl::Hidden, cl::desc("Emit a call to trap function rather than a trap instruction"), @@ -454,7 +449,6 @@ int main(int argc, char **argv) { Options.DisableTailCalls = DisableTailCalls; Options.StackAlignmentOverride = OverrideStackAlignment; Options.RealignStack = EnableRealignStack; - Options.DisableJumpTables = DisableSwitchTables; Options.TrapFuncName = TrapFuncName; Options.PositionIndependentExecutable = EnablePIE; Options.EnableSegmentedStacks = SegmentedStacks; |