[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp PPCAsmPrinter.cpp

Chris Lattner lattner at cs.uiuc.edu
Wed Jun 28 15:00:48 PDT 2006



Changes in directory llvm/lib/Target/PowerPC:

PPCISelDAGToDAG.cpp updated: 1.196 -> 1.197
PPCAsmPrinter.cpp updated: 1.183 -> 1.184
---
Log message:

shrink libllvmgcc.dylib another 25K


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

 PPCAsmPrinter.cpp   |    3 ++-
 PPCISelDAGToDAG.cpp |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.196 llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.197
--- llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:1.196	Tue Jun 27 16:08:52 2006
+++ llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp	Wed Jun 28 17:00:36 2006
@@ -28,6 +28,7 @@
 #include "llvm/Intrinsics.h"
 #include "llvm/Support/Debug.h"
 #include "llvm/Support/MathExtras.h"
+#include "llvm/Support/Visibility.h"
 #include <iostream>
 #include <set>
 using namespace llvm;
@@ -39,7 +40,7 @@
   /// PPCDAGToDAGISel - PPC specific code to select PPC machine
   /// instructions for SelectionDAG operations.
   ///
-  class PPCDAGToDAGISel : public SelectionDAGISel {
+  class VISIBILITY_HIDDEN PPCDAGToDAGISel : public SelectionDAGISel {
     PPCTargetMachine &TM;
     PPCTargetLowering PPCLowering;
     unsigned GlobalBaseReg;


Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.183 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.184
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.183	Tue Jun 27 15:20:53 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp	Wed Jun 28 17:00:36 2006
@@ -33,6 +33,7 @@
 #include "llvm/Support/MathExtras.h"
 #include "llvm/Support/CommandLine.h"
 #include "llvm/Support/Debug.h"
+#include "llvm/Support/Visibility.h"
 #include "llvm/Target/MRegisterInfo.h"
 #include "llvm/Target/TargetInstrInfo.h"
 #include "llvm/Target/TargetOptions.h"
@@ -45,7 +46,7 @@
 namespace {
   Statistic<> EmittedInsts("asm-printer", "Number of machine instrs printed");
 
-  class PPCAsmPrinter : public AsmPrinter {
+  class VISIBILITY_HIDDEN PPCAsmPrinter : public AsmPrinter {
   public:
     std::set<std::string> FnStubs, GVStubs;
     






More information about the llvm-commits mailing list