mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Make sure to initialize the alignment field
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24222 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2cbdc45f35
commit
3aef571287
@ -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…
x
Reference in New Issue
Block a user