mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 01:43:06 +00:00
Correctly apply the default pointer size
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197770 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
75a8b23e10
commit
ea5893eb2d
@ -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, "-");
|
||||
|
Loading…
Reference in New Issue
Block a user