From d9556bd73fbdfd8f35b2abf9af4f32a171939e6c Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sun, 25 Jan 2015 00:30:05 +0000 Subject: [PATCH] [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 --- include/llvm/Transforms/InstCombine/InstCombineWorklist.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 Worklist; DenseMap WorklistMap; -- 2.34.1