summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MIRParser
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-08-26 22:09:11 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-08-26 22:09:11 +0000
commite609a9a80a1dcf8d4eb95a679972e22c5aa0c8cb (patch)
tree60918f69c86961dabfea843214fe30b0f9d69a67 /llvm/lib/CodeGen/MIRParser
parentc437aa9c262137ce936ae085364ae627b22cfa9b (diff)
downloadbcm5719-llvm-e609a9a80a1dcf8d4eb95a679972e22c5aa0c8cb.tar.gz
bcm5719-llvm-e609a9a80a1dcf8d4eb95a679972e22c5aa0c8cb.zip
[MFProperties] Introduce a reset method with no argument.
This method allows to reset all the properties in one go. llvm-svn: 279874
Diffstat (limited to 'llvm/lib/CodeGen/MIRParser')
-rw-r--r--llvm/lib/CodeGen/MIRParser/MIRParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
index 4e9cd8b4493..6dae8b84d37 100644
--- a/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
+++ b/llvm/lib/CodeGen/MIRParser/MIRParser.cpp
@@ -311,7 +311,7 @@ void MIRParserImpl::computeFunctionProperties(MachineFunction &MF) {
if (isSSA(MF))
Properties.set(MachineFunctionProperties::Property::IsSSA);
else
- Properties.clear(MachineFunctionProperties::Property::IsSSA);
+ Properties.reset(MachineFunctionProperties::Property::IsSSA);
const MachineRegisterInfo &MRI = MF.getRegInfo();
if (MRI.getNumVirtRegs() == 0)
OpenPOWER on IntegriCloud