diff options
author | Chris Lattner <sabre@nondot.org> | 2006-06-28 21:58:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-06-28 21:58:30 +0000 |
commit | 54a34cd20b788d38d56a0f40fb0d13a3243b6e68 (patch) | |
tree | 40b7d6b3c530523e3d0b21cf54920a6c6083289e /llvm/lib/CodeGen | |
parent | 02157b06277b8843f6ac8bb366363d8a7eecf0dc (diff) | |
download | bcm5719-llvm-54a34cd20b788d38d56a0f40fb0d13a3243b6e68.tar.gz bcm5719-llvm-54a34cd20b788d38d56a0f40fb0d13a3243b6e68.zip |
Mark these two classes as hidden, shrinking libllbmgcc.dylib by 25K
llvm-svn: 28970
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 3961606b203..241801ceda3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -35,6 +35,7 @@ #include "llvm/Support/Debug.h" #include "llvm/Support/MathExtras.h" #include "llvm/Target/TargetLowering.h" +#include "llvm/Support/Visibility.h" #include <algorithm> #include <cmath> #include <iostream> @@ -43,7 +44,7 @@ using namespace llvm; namespace { Statistic<> NodesCombined ("dagcombiner", "Number of dag nodes combined"); - class DAGCombiner { + class VISIBILITY_HIDDEN DAGCombiner { SelectionDAG &DAG; TargetLowering &TLI; bool AfterLegalize; diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp index e827bb63ff5..aeaba539b13 100644 --- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp @@ -21,6 +21,7 @@ #include "llvm/Constants.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/CommandLine.h" +#include "llvm/Support/Visibility.h" #include <iostream> #include <map> using namespace llvm; @@ -46,7 +47,7 @@ static const bool ViewLegalizeDAGs = 0; /// will attempt merge setcc and brc instructions into brcc's. /// namespace { -class SelectionDAGLegalize { +class VISIBILITY_HIDDEN SelectionDAGLegalize { TargetLowering &TLI; SelectionDAG &DAG; |