Value-initialize global to avoid global construction.

llvm-svn: 155909
This commit is contained in:
Benjamin Kramer 2012-05-01 10:48:02 +00:00
parent 667b879e73
commit 512c1dce8f
1 changed files with 2 additions and 2 deletions

View File

@ -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