[llvm] r197770 - Correctly apply the default pointer size
Dmitri Gribenko
gribozavr at gmail.com
Thu Dec 19 18:46:24 PST 2013
Author: gribozavr
Date: Thu Dec 19 20:46:23 2013
New Revision: 197770
URL: http://llvm.org/viewvc/llvm-project?rev=197770&view=rev
Log:
Correctly apply the default pointer size
Modified:
llvm/trunk/lib/IR/Module.cpp
Modified: llvm/trunk/lib/IR/Module.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Module.cpp?rev=197770&r1=197769&r2=197770&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Module.cpp (original)
+++ llvm/trunk/lib/IR/Module.cpp Thu Dec 19 20:46:23 2013
@@ -84,7 +84,7 @@ Module::Endianness Module::getEndianness
/// 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, "-");
More information about the llvm-commits
mailing list