Move methods out of .h file

llvm-svn: 12001
This commit is contained in:
Chris Lattner 2004-02-29 19:02:39 +00:00
parent df24575c31
commit 0acd73e11f

View File

@ -28,6 +28,15 @@
#include "llvm/Instruction.h"
using namespace llvm;
MachineCodeForInstruction &MachineCodeForInstruction::get(const Instruction *I){
return *(MachineCodeForInstruction*)I->getOrCreateAnnotation(MCFI_AID);
}
void MachineCodeForInstruction::destroy(const Instruction *I) {
I->deleteAnnotation(MCFI_AID);
}
AnnotationID llvm::MCFI_AID(
AnnotationManager::getID("CodeGen::MachineCodeForInstruction"));