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

Chris Lattner lattner at cs.uiuc.edu
Sat Feb 28 13:54:00 PST 2004


Changes in directory llvm/lib/Target/PowerPC:

PowerPCTargetMachine.cpp updated: 1.6 -> 1.7

---
Log message:

fine grainify namespacification


---
Diffs of the changes:  (+3 -5)

Index: llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp
diff -u llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.6 llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.7
--- llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp:1.6	Sat Feb 14 18:03:15 2004
+++ llvm/lib/Target/PowerPC/PowerPCTargetMachine.cpp	Sat Feb 28 13:53:18 2004
@@ -17,14 +17,13 @@
 #include "llvm/Target/TargetMachineImpls.h"
 #include "llvm/CodeGen/MachineFunction.h"
 #include "llvm/CodeGen/Passes.h"
-
-namespace llvm {
+using namespace llvm;
 
 // allocatePowerPCTargetMachine - Allocate and return a subclass of 
 // TargetMachine that implements the PowerPC backend.
 //
-TargetMachine *allocatePowerPCTargetMachine(const Module &M,
-                                            IntrinsicLowering *IL) {
+TargetMachine *llvm::allocatePowerPCTargetMachine(const Module &M,
+                                                  IntrinsicLowering *IL) {
   return new PowerPCTargetMachine(M, IL);
 }
 
@@ -58,4 +57,3 @@
   PM.add(createPrologEpilogCodeInserter());
 }
 
-} // end namespace llvm





More information about the llvm-commits mailing list