projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a8b23
)
Correctly apply the default pointer size
author
Dmitri Gribenko
<gribozavr@gmail.com>
Fri, 20 Dec 2013 02:46:23 +0000
(
02:46
+0000)
committer
Dmitri Gribenko
<gribozavr@gmail.com>
Fri, 20 Dec 2013 02:46:23 +0000
(
02:46
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197770
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/Module.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/Module.cpp
b/lib/IR/Module.cpp
index 4f240c783e9053daeca4663c8558c1291de28284..3d807144d6af472536ec6037adfaa2a4fa9e9dad 100644
(file)
--- a/
lib/IR/Module.cpp
+++ b/
lib/IR/Module.cpp
@@
-84,7
+84,7
@@
Module::Endianness Module::getEndianness() const {
/// Target Pointer Size information.
Module::PointerSize Module::getPointerSize() const {
StringRef temp = DataLayout;
- Module::PointerSize ret =
AnyPointerSize
;
+ Module::PointerSize ret =
Pointer64
;
while (!temp.empty()) {
std::pair<StringRef, StringRef> TmpP = getToken(temp, "-");