New ctor for invoke inst
authorChris Lattner <sabre@nondot.org>
Sat, 13 Oct 2001 06:24:10 +0000 (06:24 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 13 Oct 2001 06:24:10 +0000 (06:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@743 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/InstrTypes.h

index db85a397c8df5bdfecf4031f12091e1265534ce3..54aab3287584c6f8f6212e471ac519f370586864 100644 (file)
@@ -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...