aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/GlobalValue.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h
index a6db31d..a3b3cde 100644
--- a/include/llvm/GlobalValue.h
+++ b/include/llvm/GlobalValue.h
@@ -38,7 +38,8 @@ public:
protected:
GlobalValue(const Type *Ty, ValueTy vty, Use *Ops, unsigned NumOps,
LinkageTypes linkage, const std::string &name = "")
- : Constant(Ty, vty, Ops, NumOps, name), Linkage(linkage), Parent(0) { }
+ : Constant(Ty, vty, Ops, NumOps, name), Linkage(linkage),
+ Parent(0), Alignment(0) { }
LinkageTypes Linkage; // The linkage of this global
Module *Parent;