mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10731 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -26,10 +26,9 @@ | |||||||
| #include "llvm/CodeGen/MachineInstr.h" | #include "llvm/CodeGen/MachineInstr.h" | ||||||
| #include "llvm/CodeGen/MachineInstrAnnot.h" | #include "llvm/CodeGen/MachineInstrAnnot.h" | ||||||
| #include "llvm/CodeGen/InstrSelection.h" | #include "llvm/CodeGen/InstrSelection.h" | ||||||
|  | using namespace llvm; | ||||||
|  |  | ||||||
| namespace llvm { | AnnotationID llvm::MCFI_AID( | ||||||
|  |  | ||||||
| AnnotationID MCFI_AID( |  | ||||||
|              AnnotationManager::getID("CodeGen::MachineCodeForInstruction")); |              AnnotationManager::getID("CodeGen::MachineCodeForInstruction")); | ||||||
|  |  | ||||||
| static Annotation *CreateMCFI(AnnotationID AID, const Annotable *, void *) { | 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 |   // Let go of all uses in temp. instructions | ||||||
|   dropAllReferences(); |   dropAllReferences(); | ||||||
|    |    | ||||||
| @@ -67,8 +65,5 @@ MachineCodeForInstruction::~MachineCodeForInstruction() | |||||||
|     delete (*this)[i]; |     delete (*this)[i]; | ||||||
|  |  | ||||||
|   // Free the CallArgsDescriptor if it exists. |   // Free the CallArgsDescriptor if it exists. | ||||||
|   if (callArgsDesc) |  | ||||||
|   delete callArgsDesc; |   delete callArgsDesc; | ||||||
| } | } | ||||||
|  |  | ||||||
| } // End llvm namespace |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user