mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-14 07:31:39 +00:00
Move methods out of .h file
llvm-svn: 12001
This commit is contained in:
parent
df24575c31
commit
0acd73e11f
@ -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"));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user