//===----------------------------------------------------------------------===//
#include "llvm/iOther.h"
+#include "llvm/iPHINode.h"
#include "llvm/BasicBlock.h"
#include "llvm/Method.h"
#include "llvm/SymbolTable.h"
// TerminatorInst Class
//===----------------------------------------------------------------------===//
-TerminatorInst::TerminatorInst(unsigned iType)
+TerminatorInst::TerminatorInst(Instruction::TermOps iType)
: Instruction(Type::VoidTy, iType, "") {
}
+TerminatorInst::TerminatorInst(const Type *Ty, Instruction::TermOps iType,
+ const string &Name = "")
+ : Instruction(Ty, iType, Name) {
+}
+
//===----------------------------------------------------------------------===//
// MethodArgument Class