mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Make classes in anonymous namespaces use VISIBILITY_HIDDEN to help reduce
LLVM's footprint and speed up linking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "llvm/Analysis/AliasAnalysis.h"
|
||||
#include "llvm/Analysis/Dominators.h"
|
||||
#include "llvm/Support/CFG.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
#include "llvm/Target/TargetData.h"
|
||||
#include <set>
|
||||
#include <algorithm>
|
||||
@@ -38,7 +39,7 @@ using namespace llvm;
|
||||
|
||||
namespace {
|
||||
// FIXME: This should not be a FunctionPass.
|
||||
struct LoadVN : public FunctionPass, public ValueNumbering {
|
||||
struct VISIBILITY_HIDDEN LoadVN : public FunctionPass, public ValueNumbering {
|
||||
|
||||
/// Pass Implementation stuff. This doesn't do any analysis.
|
||||
///
|
||||
|
Reference in New Issue
Block a user