//
// 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 is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
#define LLVM_USER_H
#include "llvm/Value.h"
-#include <vector>
namespace llvm {
unsigned NumOperands;
public:
- User(const Type *Ty, unsigned vty, Use *OpList, unsigned NumOps,
- const std::string &name = "")
- : Value(Ty, vty, name), OperandList(OpList), NumOperands(NumOps) {}
+ User(const Type *Ty, unsigned vty, Use *OpList, unsigned NumOps)
+ : Value(Ty, vty), OperandList(OpList), NumOperands(NumOps) {}
Value *getOperand(unsigned i) const {
assert(i < NumOperands && "getOperand() out of range!");