X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FVMCore%2FInstrTypes.cpp;h=5d0e727ccc611082a23b5d99f9ca22ebd605270a;hb=068758e518f0fe4ab67490f2eec0fd3b376a4d2c;hp=137f18169e61f752b65b26eb5d2b30e66d7a7766;hpb=3b237fcd385a734b49bb54893ce256ba181e36f9;p=oota-llvm.git diff --git a/lib/VMCore/InstrTypes.cpp b/lib/VMCore/InstrTypes.cpp index 137f18169e6..5d0e727ccc6 100644 --- a/lib/VMCore/InstrTypes.cpp +++ b/lib/VMCore/InstrTypes.cpp @@ -1,16 +1,23 @@ //===-- InstrTypes.cpp - Implement Instruction subclasses -------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by the LLVM research group and is distributed under +// the University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// // // This file implements // //===----------------------------------------------------------------------===// -#include "llvm/iOther.h" -#include "llvm/iPHINode.h" +#include "llvm/Instructions.h" #include "llvm/Function.h" #include "llvm/SymbolTable.h" #include "llvm/Constant.h" #include "llvm/Type.h" #include // find +using namespace llvm; //===----------------------------------------------------------------------===// // TerminatorInst Class @@ -20,6 +27,12 @@ TerminatorInst::TerminatorInst(Instruction::TermOps iType, Instruction *IB) : Instruction(Type::VoidTy, iType, "", IB) { } +TerminatorInst::TerminatorInst(Instruction::TermOps iType, BasicBlock *IAE) + : Instruction(Type::VoidTy, iType, "", IAE) { +} + + + //===----------------------------------------------------------------------===// // PHINode Class //===----------------------------------------------------------------------===//