aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMInstrInfo.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-07-02 23:41:07 +0000
committerOwen Anderson <resistor@mac.com>2008-07-02 23:41:07 +0000
commitc6959726ab99e740101d8b5b663aee5fa1332791 (patch)
tree00033566da5e0a30f9e67bd56e9a124ccceabfb7 /lib/Target/ARM/ARMInstrInfo.h
parent7eced110b0549fe8f7b400bbad655586d42d8765 (diff)
downloadexternal_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.h2
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,