Rename ConstPoolVal -> Constant
[oota-llvm.git] / lib / VMCore / InstrTypes.cpp
index dbace177a98d2f1fac3e0b7c51cfefcc0e8a5a70..69a703c0c7461d2443f93c033857224282e837d2 100644 (file)
@@ -5,6 +5,7 @@
 //===----------------------------------------------------------------------===//
 
 #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