aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/Module.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-24 13:48:48 +0000
committerChris Lattner <sabre@nondot.org>2003-08-24 13:48:48 +0000
commiteb5d3a1526b2604feb07fe874907e30c8d2fcd6d (patch)
treea391c172ec1211e093882f11203305f02dd94d53 /lib/VMCore/Module.cpp
parentd445c6b64a64ba61523b3d225463dce070d33212 (diff)
Support new 'any' support for pointer size and endianness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Module.cpp')
-rw-r--r--lib/VMCore/Module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Module.cpp b/lib/VMCore/Module.cpp
index abc4654da1..8b61606dca 100644
--- a/lib/VMCore/Module.cpp
+++ b/lib/VMCore/Module.cpp
@@ -53,7 +53,7 @@ struct GlobalValueRefMap {
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);