aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetInstrInfo.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
commitf660c171c838793b87b7e58e91609cecf256378d (patch)
tree00033566da5e0a30f9e67bd56e9a124ccceabfb7 /include/llvm/Target/TargetInstrInfo.h
parentcd920d9ecfcefff13c3619a32b58399cac2e3630 (diff)
downloadexternal_llvm-f660c171c838793b87b7e58e91609cecf256378d.zip
external_llvm-f660c171c838793b87b7e58e91609cecf256378d.tar.gz
external_llvm-f660c171c838793b87b7e58e91609cecf256378d.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 'include/llvm/Target/TargetInstrInfo.h')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index 5c5f0e1..30a184f 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -143,7 +143,7 @@ public:
///
virtual MachineInstr *
convertToThreeAddress(MachineFunction::iterator &MFI,
- MachineBasicBlock::iterator &MBBI, LiveVariables &LV) const {
+ MachineBasicBlock::iterator &MBBI, LiveVariables *LV) const {
return 0;
}