diff options
| author | Dan Gohman <gohman@apple.com> | 2009-07-31 18:35:51 +0000 | 
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-07-31 18:35:51 +0000 | 
| commit | 7baae4b3557d5c50bcf632d91e2fd21deee54099 (patch) | |
| tree | 6959c5a17bee33fb73c48831a6b075ab1792ca32 /llvm/lib | |
| parent | 1b2596ba362d56c3f86123bec909921359526df4 (diff) | |
| download | bcm5719-llvm-7baae4b3557d5c50bcf632d91e2fd21deee54099.tar.gz bcm5719-llvm-7baae4b3557d5c50bcf632d91e2fd21deee54099.zip  | |
MachineFunction no longer needs Annotation.
llvm-svn: 77704
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index aa3cfe2d5d0..0461f4059ec 100644 --- a/llvm/lib/CodeGen/MachineFunction.cpp +++ b/llvm/lib/CodeGen/MachineFunction.cpp @@ -80,8 +80,7 @@ void ilist_traits<MachineBasicBlock>::deleteNode(MachineBasicBlock *MBB) {  MachineFunction::MachineFunction(Function *F,                                   const TargetMachine &TM) -  : Annotation(AnnotationManager::getID("CodeGen::MachineCodeForFunction")), -    Fn(F), Target(TM) { +  : Fn(F), Target(TM) {    if (TM.getRegisterInfo())      RegInfo = new (Allocator.Allocate<MachineRegisterInfo>())                    MachineRegisterInfo(*TM.getRegisterInfo());  | 

