Support new 'any' support for pointer size and endianness
llvm-svn: 8119
diff --git a/llvm/lib/VMCore/Module.cpp b/llvm/lib/VMCore/Module.cpp
index abc4654..8b61606 100644
--- a/llvm/lib/VMCore/Module.cpp
+++ b/llvm/lib/VMCore/Module.cpp
@@ -53,7 +53,7 @@
Module::Module(const std::string &MID)
- : ModuleID(MID), Endian(BigEndian), PtrSize(Pointer64) {
+ : ModuleID(MID), Endian(AnyEndianness), PtrSize(AnyPointerSize) {
FunctionList.setItemParent(this);
FunctionList.setParent(this);
GlobalList.setItemParent(this);