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 | a82ee2df46123497dfeb1e9b9c5ee1bdc49a4cd0 (patch) | |
tree | 47de548ee9c5e8e7f727a836dc75b4759d97cbb5 /llvm/lib/VMCore/Function.cpp | |
parent | 889cddf52cb31d630228c5679892ca6e3e45b024 (diff) | |
download | bcm5719-llvm-a82ee2df46123497dfeb1e9b9c5ee1bdc49a4cd0.tar.gz bcm5719-llvm-a82ee2df46123497dfeb1e9b9c5ee1bdc49a4cd0.zip |
*** empty log message ***
llvm-svn: 3065
Diffstat (limited to 'llvm/lib/VMCore/Function.cpp')
-rw-r--r-- | llvm/lib/VMCore/Function.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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)); |