mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-12 07:37:34 +00: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> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176213 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b302a4e6b5
commit
cd275c57af
@ -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…
x
Reference in New Issue
Block a user