diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-01-09 06:30:18 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-01-09 06:30:18 +0000 |
| commit | a4ee66f3ea204128678a8ce5eb8536503090bdd9 (patch) | |
| tree | c1d54e191ffb0eb070a1f2b651d780d9a6de4c45 /llvm/lib/CodeGen/MachineCodeForInstruction.cpp | |
| parent | 83e84166a3041b48badfa14ace5f66b89c5f4ff3 (diff) | |
| download | bcm5719-llvm-a4ee66f3ea204128678a8ce5eb8536503090bdd9.tar.gz bcm5719-llvm-a4ee66f3ea204128678a8ce5eb8536503090bdd9.zip | |
Finegrainify namespacification.
This should get hunked over to the Sparc backend, along with
MachineCodeForInstruction and a bunch of files in include/llvm/Codegen,
but those battles will have to wait for a later time.
llvm-svn: 10731
Diffstat (limited to 'llvm/lib/CodeGen/MachineCodeForInstruction.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/MachineCodeForInstruction.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp b/llvm/lib/CodeGen/MachineCodeForInstruction.cpp index 000f3d175b8..a0982fe2748 100644 --- a/llvm/lib/CodeGen/MachineCodeForInstruction.cpp +++ b/llvm/lib/CodeGen/MachineCodeForInstruction.cpp @@ -26,10 +26,9 @@ #include "llvm/CodeGen/MachineInstr.h" #include "llvm/CodeGen/MachineInstrAnnot.h" #include "llvm/CodeGen/InstrSelection.h" +using namespace llvm; -namespace llvm { - -AnnotationID MCFI_AID( +AnnotationID llvm::MCFI_AID( AnnotationManager::getID("CodeGen::MachineCodeForInstruction")); static Annotation *CreateMCFI(AnnotationID AID, const Annotable *, void *) { @@ -53,8 +52,7 @@ MachineCodeForInstruction::dropAllReferences() } -MachineCodeForInstruction::~MachineCodeForInstruction() -{ +MachineCodeForInstruction::~MachineCodeForInstruction() { // Let go of all uses in temp. instructions dropAllReferences(); @@ -67,8 +65,5 @@ MachineCodeForInstruction::~MachineCodeForInstruction() delete (*this)[i]; // Free the CallArgsDescriptor if it exists. - if (callArgsDesc) - delete callArgsDesc; + delete callArgsDesc; } - -} // End llvm namespace |

