[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp LegalizeDAG.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jun 28 14:58:42 PDT 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

DAGCombiner.cpp updated: 1.173 -> 1.174
LegalizeDAG.cpp updated: 1.379 -> 1.380
---
Log message:

Mark these two classes as hidden, shrinking libllbmgcc.dylib by 25K


---
Diffs of the changes:  (+4 -2)

 DAGCombiner.cpp |    3 ++-
 LegalizeDAG.cpp |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.173 llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.174
--- llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1.173	Mon Jun 12 11:06:43 2006
+++ llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp	Wed Jun 28 16:58:30 2006
@@ -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 @@
 namespace {
   Statistic<> NodesCombined ("dagcombiner", "Number of dag nodes combined");
 
-  class DAGCombiner {
+  class VISIBILITY_HIDDEN DAGCombiner {
     SelectionDAG &DAG;
     TargetLowering &TLI;
     bool AfterLegalize;


Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.379 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.380
--- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.379	Fri May 26 18:08:15 2006
+++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp	Wed Jun 28 16:58:30 2006
@@ -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 @@
 /// will attempt merge setcc and brc instructions into brcc's.
 ///
 namespace {
-class SelectionDAGLegalize {
+class VISIBILITY_HIDDEN SelectionDAGLegalize {
   TargetLowering &TLI;
   SelectionDAG &DAG;
 






More information about the llvm-commits mailing list