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 | a1e51ff2aa965467632e761774e33ce191f602e7 (patch) | |
tree | 53b834292fcab5b3240cb205d99eff6132cf77b3 /lib/Target/SparcV9/MachineCodeForInstruction.cpp | |
parent | 8bdf87d1d8abde45c40b2698dd9af8407007281c (diff) |
Convert to the new MachineFunctionInfo interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/MachineCodeForInstruction.cpp')
-rw-r--r-- | lib/Target/SparcV9/MachineCodeForInstruction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/SparcV9/MachineCodeForInstruction.cpp b/lib/Target/SparcV9/MachineCodeForInstruction.cpp index 96cedbaced..44cf57247f 100644 --- a/lib/Target/SparcV9/MachineCodeForInstruction.cpp +++ b/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 |