aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-07-31 18:13:12 +0000
committerDale Johannesen <dalej@apple.com>2008-07-31 18:13:12 +0000
commit7232464bdaae5e6e48986a1e3b9a95fac7aa7bdf (patch)
tree166cb00f2c381ac43ecabcebe51bcb240fcba217 /include
parent75dcf08243d19a40d2e1cc12057bf9c00ca3df3b (diff)
downloadexternal_llvm-7232464bdaae5e6e48986a1e3b9a95fac7aa7bdf.zip
external_llvm-7232464bdaae5e6e48986a1e3b9a95fac7aa7bdf.tar.gz
external_llvm-7232464bdaae5e6e48986a1e3b9a95fac7aa7bdf.tar.bz2
Add a flag to disable jump table generation (all
switches use the binary search algorithm) for environments that don't support it. PPC64 JIT is such an environment; turn the flag on for that. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54248 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetOptions.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index a9964f7..fa73950 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -97,6 +97,10 @@ namespace llvm {
/// VerboseAsm - When this flag is set, the asm printer prints additional
/// comments to asm directives.
extern bool VerboseAsm;
+
+ /// DisableJumpTables - This flag indicates jump tables should not be
+ /// generated.
+ extern bool DisableJumpTables;
} // End llvm namespace
#endif