mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Make sure to initialize the alignment field
llvm-svn: 24222
This commit is contained in:
parent
bcea8db4e4
commit
aa07ab1192
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user