diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-01-25 00:30:05 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-01-25 00:30:05 +0000 |
| commit | db0809fff36945cec5703301803e41cb3ef99e56 (patch) | |
| tree | 501b4cf5589dedf0fa73291ebfd63f836ec3f8db | |
| parent | d5b9a1d78ad722b010f85530ce6442cd246073be (diff) | |
| download | llvm-db0809fff36945cec5703301803e41cb3ef99e56.zip llvm-db0809fff36945cec5703301803e41cb3ef99e56.tar.gz llvm-db0809fff36945cec5703301803e41cb3ef99e56.tar.bz2 | |
[PM] Remove the restricted visibility from the instcombine worklist. Now
that library consumers access the instcombine pass directly, they also
(transitively) access the worklist. Also, it would need to be used
directly in order to have a useful utility if we ever want that.
This should fix some warnings since I moved this code. Sorry for the
trouble.
llvm-svn: 227025
| -rw-r--r-- | llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h b/llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h index 720ba13..63b6372 100644 --- a/llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h +++ b/llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h @@ -23,7 +23,7 @@ namespace llvm { /// InstCombineWorklist - This is the worklist management logic for /// InstCombine. -class LLVM_LIBRARY_VISIBILITY InstCombineWorklist { +class InstCombineWorklist { SmallVector<Instruction*, 256> Worklist; DenseMap<Instruction*, unsigned> WorklistMap; |
