From a82ee2df46123497dfeb1e9b9c5ee1bdc49a4cd0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 24 Jul 2002 22:08:53 +0000 Subject: *** empty log message *** llvm-svn: 3065 --- llvm/lib/VMCore/Function.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/VMCore/Function.cpp') diff --git a/llvm/lib/VMCore/Function.cpp b/llvm/lib/VMCore/Function.cpp index f7d7953aabe..591bd9009f3 100644 --- a/llvm/lib/VMCore/Function.cpp +++ b/llvm/lib/VMCore/Function.cpp @@ -136,8 +136,8 @@ void Function::dropAllReferences() { //===----------------------------------------------------------------------===// GlobalVariable::GlobalVariable(const Type *Ty, bool constant, bool isIntern, - Constant *Initializer = 0, - const std::string &Name = "") + Constant *Initializer, + const std::string &Name) : GlobalValue(PointerType::get(Ty), Value::GlobalVariableVal, isIntern, Name), isConstantGlobal(constant) { if (Initializer) Operands.push_back(Use((Value*)Initializer, this)); -- cgit v1.2.3