forked from OSchip/llvm-project
Copy missing member in DataLayout copy ctor.
Test case is missing due to it not being reachable through the current tools but out of tree code such as the sample at http://llvm.org/docs/tutorial/LangImpl4.html Patch by Peng Cheng <gm4cheng@gmail.com> llvm-svn: 176213
This commit is contained in:
parent
5f21587648
commit
9aa8e0b30a
|
@ -172,6 +172,7 @@ public:
|
|||
DataLayout(const DataLayout &TD) :
|
||||
ImmutablePass(ID),
|
||||
LittleEndian(TD.isLittleEndian()),
|
||||
StackNaturalAlign(TD.StackNaturalAlign),
|
||||
LegalIntWidths(TD.LegalIntWidths),
|
||||
Alignments(TD.Alignments),
|
||||
Pointers(TD.Pointers),
|
||||
|
|
Loading…
Reference in New Issue