OSDN Git Service

[PM] Remove the restricted visibility from the instcombine worklist. Now
authorChandler Carruth <chandlerc@gmail.com>
Sun, 25 Jan 2015 00:30:05 +0000 (00:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 25 Jan 2015 00:30:05 +0000 (00:30 +0000)
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

include/llvm/Transforms/InstCombine/InstCombineWorklist.h

index 720ba13..63b6372 100644 (file)
@@ -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;