mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80766 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,19 +21,17 @@
|
||||
#include "llvm/IntrinsicInst.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include "llvm/ADT/DepthFirstIterator.h"
|
||||
#include "llvm/ADT/SmallPtrSet.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
STATISTIC(NumRemoved, "Number of instructions removed");
|
||||
|
||||
namespace {
|
||||
struct VISIBILITY_HIDDEN ADCE : public FunctionPass {
|
||||
struct ADCE : public FunctionPass {
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
ADCE() : FunctionPass(&ID) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user