diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-06-02 07:26:00 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2012-06-02 07:26:00 +0000 |
commit | 4319a552ac98137d511341905711293d541f15e7 (patch) | |
tree | 75cc05f29e95d182822dd834b90e746d88a5abe2 /lib | |
parent | be4258adc5724e209d7a73f310fef44764971dec (diff) | |
download | external_llvm-4319a552ac98137d511341905711293d541f15e7.zip external_llvm-4319a552ac98137d511341905711293d541f15e7.tar.gz external_llvm-4319a552ac98137d511341905711293d541f15e7.tar.bz2 |
PR1255: case ranges.
IntegersSubsetGeneric, IntegersSubsetMapping: added IntTy template parameter, that allows use either APInt or IntItem. This change allows to write unittest for these classes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157880 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index ff3993f..15c4258 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -2427,7 +2427,7 @@ size_t SelectionDAGBuilder::Clusterify(CaseVector& Cases, /// Use a shorter form of declaration, and also /// show the we want to use CRSBuilder as Clusterifier. - typedef IntegersSubsetMapping<MachineBasicBlock, IntegersSubset> Clusterifier; + typedef IntegersSubsetMapping<MachineBasicBlock> Clusterifier; Clusterifier TheClusterifier; |