OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cbdc45
)
Make sure to initialize the alignment field
author
Chris Lattner
<sabre@nondot.org>
Sun, 6 Nov 2005 08:22:18 +0000
(08:22 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 6 Nov 2005 08:22:18 +0000
(08:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24222
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/GlobalValue.h
patch
|
blob
|
history
diff --git
a/include/llvm/GlobalValue.h
b/include/llvm/GlobalValue.h
index
a6db31d
..
a3b3cde
100644
(file)
--- 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;