mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Actually set the endian/pointersize flags on the module being read in!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f70770abd5
commit
fe2102b61d
@ -1860,6 +1860,9 @@ void BytecodeReader::ParseVersionInfo() {
|
||||
if (hasNoEndianness) Endianness = Module::AnyEndianness;
|
||||
if (hasNoPointerSize) PointerSize = Module::AnyPointerSize;
|
||||
|
||||
TheModule->setEndianness(Endianness);
|
||||
TheModule->setPointerSize(PointerSize);
|
||||
|
||||
if (Handler) Handler->handleVersionInfo(RevisionNum, Endianness, PointerSize);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user