diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-02-14 06:00:36 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-02-14 06:00:36 +0000 |
| commit | 9f75a55329d5157c67fe9f800ca5a7472634e44b (patch) | |
| tree | 8a85721dd2215bc6d9a1a4b2b723c7aa50139f25 /llvm/lib/Target/X86/Printer.cpp | |
| parent | 0c48a03374cd7bc566e3e5f1df2d83879e019d03 (diff) | |
| download | bcm5719-llvm-9f75a55329d5157c67fe9f800ca5a7472634e44b.tar.gz bcm5719-llvm-9f75a55329d5157c67fe9f800ca5a7472634e44b.zip | |
finegrainify namespacification, fix 80col prob
llvm-svn: 11445
Diffstat (limited to 'llvm/lib/Target/X86/Printer.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/Printer.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/llvm/lib/Target/X86/Printer.cpp b/llvm/lib/Target/X86/Printer.cpp index 840aa4a9415..f591612aea3 100644 --- a/llvm/lib/Target/X86/Printer.cpp +++ b/llvm/lib/Target/X86/Printer.cpp @@ -28,8 +28,7 @@ #include "Support/Statistic.h" #include "Support/StringExtras.h" #include "Support/CommandLine.h" - -namespace llvm { +using namespace llvm; namespace { Statistic<> EmittedInsts("asm-printer", "Number of machine instrs printed"); @@ -91,7 +90,7 @@ namespace { /// using the given target machine description. This should work /// regardless of whether the function is in SSA form. /// -FunctionPass *createX86CodePrinterPass(std::ostream &o,TargetMachine &tm){ +FunctionPass *llvm::createX86CodePrinterPass(std::ostream &o,TargetMachine &tm){ return new Printer(o, tm); } @@ -946,5 +945,3 @@ bool Printer::doFinalization(Module &M) { delete Mang; return false; // success } - -} // End llvm namespace |

