summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 04:05:28 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 04:05:28 +0000
commit5fc4160ea3d641dc174232d6ea5248c5d355095c (patch)
treebc2b7041aaecf60811dccc9aa34baf437c888d37 /llvm/lib/ExecutionEngine
parent20bbbd489bf1b66e079f39708406148bcbb65b06 (diff)
downloadbcm5719-llvm-5fc4160ea3d641dc174232d6ea5248c5d355095c.tar.gz
bcm5719-llvm-5fc4160ea3d641dc174232d6ea5248c5d355095c.zip
Add support for target-specific 32-bit custom-lowered
jump table entries. llvm-svn: 94505
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
index 291655353d4..4d5857414b9 100644
--- a/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/llvm/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -1445,6 +1445,7 @@ void JITEmitter::emitJumpTableInfo(MachineJumpTableInfo *MJTI) {
break;
}
+ case MachineJumpTableInfo::EK_Custom32:
case MachineJumpTableInfo::EK_GPRel32BlockAddress:
case MachineJumpTableInfo::EK_LabelDifference32: {
assert(MJTI->getEntrySize(*TheJIT->getTargetData()) == 4&&"Cross JIT'ing?");
OpenPOWER on IntegriCloud