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 /include/llvm | |
| 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 'include/llvm')
| -rw-r--r-- | include/llvm/Target/TargetInstrInfo.h | 2 |
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; } |
