diff options
author | Owen Anderson <resistor@mac.com> | 2008-07-02 23:41:07 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-07-02 23:41:07 +0000 |
commit | c6959726ab99e740101d8b5b663aee5fa1332791 (patch) | |
tree | 00033566da5e0a30f9e67bd56e9a124ccceabfb7 /lib/Target/ARM/ARMInstrInfo.h | |
parent | 7eced110b0549fe8f7b400bbad655586d42d8765 (diff) | |
download | external_llvm-c6959726ab99e740101d8b5b663aee5fa1332791.zip external_llvm-c6959726ab99e740101d8b5b663aee5fa1332791.tar.gz external_llvm-c6959726ab99e740101d8b5b663aee5fa1332791.tar.bz2 |
Make LiveVariables even more optional, by making it optional in the call to TargetInstrInfo::convertToThreeAddressInstruction
Also, if LV isn't around, then TwoAddr doesn't need to be updating flags, since they won't have been set in the first place.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.h')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.h b/lib/Target/ARM/ARMInstrInfo.h index be95d56..34c5470 100644 --- a/lib/Target/ARM/ARMInstrInfo.h +++ b/lib/Target/ARM/ARMInstrInfo.h @@ -153,7 +153,7 @@ public: virtual MachineInstr *convertToThreeAddress(MachineFunction::iterator &MFI, MachineBasicBlock::iterator &MBBI, - LiveVariables &LV) const; + LiveVariables *LV) const; // Branch analysis. virtual bool AnalyzeBranch(MachineBasicBlock &MBB, MachineBasicBlock *&TBB, |