diff options
author | Chris Lattner <sabre@nondot.org> | 2004-08-18 18:13:37 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-08-18 18:13:37 +0000 |
commit | 1ea6d207ce3db8dd3fb7b92233e80ce50a59a2fe (patch) | |
tree | a2b97d1f9691291c3657ece975915c27f20de9e0 /llvm/lib/Target/SparcV9/MachineCodeForInstruction.cpp | |
parent | 663bf7e7650ab023eaa83a83a554a3a967b4ec4c (diff) | |
download | bcm5719-llvm-1ea6d207ce3db8dd3fb7b92233e80ce50a59a2fe.tar.gz bcm5719-llvm-1ea6d207ce3db8dd3fb7b92233e80ce50a59a2fe.zip |
Convert to the new MachineFunctionInfo interface
llvm-svn: 15904
Diffstat (limited to 'llvm/lib/Target/SparcV9/MachineCodeForInstruction.cpp')
-rw-r--r-- | llvm/lib/Target/SparcV9/MachineCodeForInstruction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/SparcV9/MachineCodeForInstruction.cpp b/llvm/lib/Target/SparcV9/MachineCodeForInstruction.cpp index 96cedbacedc..44cf57247fc 100644 --- a/llvm/lib/Target/SparcV9/MachineCodeForInstruction.cpp +++ b/llvm/lib/Target/SparcV9/MachineCodeForInstruction.cpp @@ -35,11 +35,11 @@ using namespace llvm; MachineCodeForInstruction &MachineCodeForInstruction::get(const Instruction *I){ MachineFunction &MF = MachineFunction::get(I->getParent()->getParent()); - return MF.getInfo()->MCFIEntries[I]; + return MF.getInfo<SparcV9FunctionInfo>()->MCFIEntries[I]; } void MachineCodeForInstruction::destroy(const Instruction *I) { MachineFunction &MF = MachineFunction::get(I->getParent()->getParent()); - MF.getInfo()->MCFIEntries.erase(I); + MF.getInfo<SparcV9FunctionInfo>()->MCFIEntries.erase(I); } void |