summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-01-25 00:30:05 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-01-25 00:30:05 +0000
commitdb0809fff36945cec5703301803e41cb3ef99e56 (patch)
tree501b4cf5589dedf0fa73291ebfd63f836ec3f8db
parentd5b9a1d78ad722b010f85530ce6442cd246073be (diff)
downloadbcm5719-llvm-db0809fff36945cec5703301803e41cb3ef99e56.tar.gz
bcm5719-llvm-db0809fff36945cec5703301803e41cb3ef99e56.zip
[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.h2
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 720ba138bb7..63b6372ae23 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;
OpenPOWER on IntegriCloud