mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 19:12:56 +02:00
Actually set the endian/pointersize flags on the module being read in!
llvm-svn: 14826
This commit is contained in:
parent
fb6e1c2007
commit
d8746a7ab6
@ -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