diff options
author | Chris Lattner <sabre@nondot.org> | 2007-12-30 21:56:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-12-30 21:56:09 +0000 |
commit | 6005589faffdc5dbc3ce194f0988512216364d6e (patch) | |
tree | da7085527f783281b0e82e46538e9df4fe7fe264 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | c98c0e57eb181932455fd1e6dba6771f9f94ab81 (diff) | |
download | bcm5719-llvm-6005589faffdc5dbc3ce194f0988512216364d6e.tar.gz bcm5719-llvm-6005589faffdc5dbc3ce194f0988512216364d6e.zip |
More cleanups for MachineOperand:
- Eliminate the static "print" method for operands, moving it
into MachineOperand::print.
- Change various set* methods for register flags to take a bool
for the value to set it to. Remove unset* methods.
- Group methods more logically by operand flavor in MachineOperand.h
llvm-svn: 45461
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 0e7f0d9a2b2..be3dd55fc86 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -1213,7 +1213,7 @@ addIntervalsForSpills(const LiveInterval &li, assert(KillMI && "Last use disappeared?"); int KillOp = KillMI->findRegisterUseOperandIdx(li.reg, true); assert(KillOp != -1 && "Last use disappeared?"); - KillMI->getOperand(KillOp).unsetIsKill(); + KillMI->getOperand(KillOp).setIsKill(false); } vrm.removeKillPoint(li.reg); bool DefIsReMat = vrm.isReMaterialized(li.reg); |