aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineBasicBlock.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/MachineBasicBlock.cpp b/llvm/lib/CodeGen/MachineBasicBlock.cpp
index 37fe37f..76227b7 100644
--- a/llvm/lib/CodeGen/MachineBasicBlock.cpp
+++ b/llvm/lib/CodeGen/MachineBasicBlock.cpp
@@ -1776,17 +1776,15 @@ void MachineBasicBlock::clearLiveIns(
}
MachineBasicBlock::livein_iterator MachineBasicBlock::livein_begin() const {
- assert(getParent()->getProperties().hasProperty(
- MachineFunctionProperties::Property::TracksLiveness) &&
- "Liveness information is accurate");
+ assert(getParent()->getProperties().hasTracksLiveness() &&
+ "Liveness information is accurate");
return LiveIns.begin();
}
MachineBasicBlock::liveout_iterator MachineBasicBlock::liveout_begin() const {
const MachineFunction &MF = *getParent();
- assert(MF.getProperties().hasProperty(
- MachineFunctionProperties::Property::TracksLiveness) &&
- "Liveness information is accurate");
+ assert(MF.getProperties().hasTracksLiveness() &&
+ "Liveness information is accurate");
const TargetLowering &TLI = *MF.getSubtarget().getTargetLowering();
MCRegister ExceptionPointer, ExceptionSelector;