diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-08 18:52:46 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2004-06-08 18:52:46 +0000 |
commit | 777a1cde665f22b75a23a46e51de4ecb6d169c22 (patch) | |
tree | c0ec8c06cf0e7baed76b0d3e7694ea7c256d63d8 /include/llvm/CodeGen/InstrSelection.h | |
parent | 10c508b286ff19a053697df4447ba9f233a3710f (diff) | |
download | external_llvm-777a1cde665f22b75a23a46e51de4ecb6d169c22.zip external_llvm-777a1cde665f22b75a23a46e51de4ecb6d169c22.tar.gz external_llvm-777a1cde665f22b75a23a46e51de4ecb6d169c22.tar.bz2 |
Add a TmpInstruction ctor that doesn't take a MCFI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/InstrSelection.h')
-rw-r--r-- | include/llvm/CodeGen/InstrSelection.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/InstrSelection.h b/include/llvm/CodeGen/InstrSelection.h index 5fa1ab1..7b3ddd0 100644 --- a/include/llvm/CodeGen/InstrSelection.h +++ b/include/llvm/CodeGen/InstrSelection.h @@ -75,7 +75,12 @@ public: // s1 must be a valid value. s2 may be NULL. TmpInstruction(MachineCodeForInstruction& mcfi, Value *s1, Value *s2 = 0, const std::string &name = ""); - + + // Constructor that uses the type of S1 as the type of the temporary, + // but does not require a MachineCodeForInstruction. + // s1 must be a valid value. s2 may be NULL. + TmpInstruction(Value *s1, Value *s2 = 0, const std::string &name = ""); + // Constructor that requires the type of the temporary to be specified. // Both S1 and S2 may be NULL. TmpInstruction(MachineCodeForInstruction& mcfi, |