forked from OSchip/llvm-project
Value-initialize global to avoid global construction.
llvm-svn: 155909
This commit is contained in:
parent
667b879e73
commit
512c1dce8f
|
@ -117,8 +117,8 @@ TargetAlignElem::operator==(const TargetAlignElem &rhs) const {
|
|||
&& TypeBitWidth == rhs.TypeBitWidth);
|
||||
}
|
||||
|
||||
const TargetAlignElem TargetData::InvalidAlignmentElem =
|
||||
TargetAlignElem::get((AlignTypeEnum) -1, 0, 0, 0);
|
||||
const TargetAlignElem
|
||||
TargetData::InvalidAlignmentElem = { (AlignTypeEnum)0xFF, 0, 0, 0 };
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// TargetData Class Implementation
|
||||
|
|
Loading…
Reference in New Issue