summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-01-05 19:40:39 +0000
committerDan Gohman <gohman@apple.com>2009-01-05 19:40:39 +0000
commitdbc6c31f620d5b87116408d7328d8b88b884e43d (patch)
tree0a995a837e4422c51bb142b1bf573d6a28ec7934 /llvm/lib
parent49c42d5f57eec2366671b785b6e2eaf05bf70eaf (diff)
downloadbcm5719-llvm-dbc6c31f620d5b87116408d7328d8b88b884e43d.tar.gz
bcm5719-llvm-dbc6c31f620d5b87116408d7328d8b88b884e43d.zip
TargetLowering.h #includes SelectionDAGNodes.h, so it doesn't need its
own OpActionsCapacity magic number; it can just use ISD::BUILTIN_OP_END, as long as it takes care to round up when needed. llvm-svn: 61733
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 6fcecc872b5..bbd222285e4 100644
--- a/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -398,8 +398,6 @@ static void InitCmpLibcallCCs(ISD::CondCode *CCs) {
TargetLowering::TargetLowering(TargetMachine &tm)
: TM(tm), TD(TM.getTargetData()) {
- assert(ISD::BUILTIN_OP_END <= OpActionsCapacity &&
- "Fixed size array in TargetLowering is not large enough!");
// All operations default to being supported.
memset(OpActions, 0, sizeof(OpActions));
memset(LoadExtActions, 0, sizeof(LoadExtActions));
OpenPOWER on IntegriCloud