1
0
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:
Brian Gaeke 2004-07-14 20:33:13 +00:00
parent fb6e1c2007
commit d8746a7ab6

View File

@ -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);
}