diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-24 22:08:53 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-24 22:08:53 +0000 |
commit | fe8041ae397ebbcc311469aa39dfb79f8191b412 (patch) | |
tree | 13d57051a1973eea3fc3a8beb8eca5ca3760ef76 /lib/VMCore/Function.cpp | |
parent | 7f4dd472e35569efefbeffef096c490075e3e824 (diff) |
*** empty log message ***
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Function.cpp')
-rw-r--r-- | lib/VMCore/Function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Function.cpp b/lib/VMCore/Function.cpp index f7d7953aab..591bd9009f 100644 --- a/lib/VMCore/Function.cpp +++ b/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)); |