mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +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,7 +21,6 @@
|
||||
#include "llvm/Transforms/Utils/Local.h"
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
#include <set>
|
||||
@@ -34,7 +33,7 @@ namespace {
|
||||
//===--------------------------------------------------------------------===//
|
||||
// DeadInstElimination pass implementation
|
||||
//
|
||||
struct VISIBILITY_HIDDEN DeadInstElimination : public BasicBlockPass {
|
||||
struct DeadInstElimination : public BasicBlockPass {
|
||||
static char ID; // Pass identification, replacement for typeid
|
||||
DeadInstElimination() : BasicBlockPass(&ID) {}
|
||||
virtual bool runOnBasicBlock(BasicBlock &BB) {
|
||||
|
||||
Reference in New Issue
Block a user