aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/TargetInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-05-09 06:08:39 +0000
committerChris Lattner <sabre@nondot.org>2008-05-09 06:08:39 +0000
commit927686fe8c968ca786fa44d2353eebf59c4f5b8a (patch)
treeb0d30bc00e5dcb4b397e83c7edb66a1f2a83105e /lib/Basic/TargetInfo.cpp
parent8cbcb0ed56b307339f27c6e7daf3444294d332f2 (diff)
parameterize pointer size/align better without doing virtual method calls in normal case.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/TargetInfo.cpp')
-rw-r--r--lib/Basic/TargetInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Basic/TargetInfo.cpp b/lib/Basic/TargetInfo.cpp
index dd1fe648d4..e8fc9232e1 100644
--- a/lib/Basic/TargetInfo.cpp
+++ b/lib/Basic/TargetInfo.cpp
@@ -23,6 +23,7 @@ using namespace clang;
TargetInfo::TargetInfo(const std::string &T) : Triple(T) {
// Set defaults. These should be overridden by concrete targets as needed.
CharIsSigned = true;
+ PointerWidth = PointerAlign = 32;
WCharWidth = WCharAlign = 32;
IntWidth = IntAlign = 32;
LongWidth = LongAlign = 32;