aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/InstrTypes.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/InstrTypes.h b/include/llvm/InstrTypes.h
index db85a397c8..54aab32875 100644
--- a/include/llvm/InstrTypes.h
+++ b/include/llvm/InstrTypes.h
@@ -23,7 +23,9 @@ class SymTabValue;
//
class TerminatorInst : public Instruction {
public:
- TerminatorInst(unsigned iType);
+ TerminatorInst(Instruction::TermOps iType);
+ TerminatorInst(const Type *Ty, Instruction::TermOps iType,
+ const string &Name = "");
inline ~TerminatorInst() {}
// Terminators must implement the methods required by Instruction...