aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index 833b765..607e87a 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -187,8 +187,8 @@ void MachineFunction::handleChangeDesc(MachineInstr &MI,
void MachineFunction::init() {
// Assume the function starts in SSA form with correct liveness.
- Properties.set(MachineFunctionProperties::Property::IsSSA);
- Properties.set(MachineFunctionProperties::Property::TracksLiveness);
+ Properties.setIsSSA();
+ Properties.setTracksLiveness();
RegInfo = new (Allocator) MachineRegisterInfo(this);
MFInfo = nullptr;