summaryrefslogtreecommitdiff
path: root/include
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
commitd9556bd73fbdfd8f35b2abf9af4f32a171939e6c (patch)
tree8a6ced37073a59499bdb6f0777611896eed9e9eb /include
parent5c7cc95d478f4c3692fef20cf5d8d09055cd8b89 (diff)
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227025 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/InstCombine/InstCombineWorklist.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/InstCombine/InstCombineWorklist.h b/include/llvm/Transforms/InstCombine/InstCombineWorklist.h
index 720ba138bb7..63b6372ae23 100644
--- a/include/llvm/Transforms/InstCombine/InstCombineWorklist.h
+++ b/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;