mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
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
4d945565f7
commit
c9c5b0154d
@ -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
Block a user