projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[FastISel][AArch64] Cleanup and simplify 'fastSelectInstruction'. NFC.
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsTargetObjectFile.cpp
diff --git
a/lib/Target/Mips/MipsTargetObjectFile.cpp
b/lib/Target/Mips/MipsTargetObjectFile.cpp
index 13f9408f4e6edeed1ccde73ad18049deb2d53308..82c9fe9998032507069c41670e485f9910b098bb 100644
(file)
--- a/
lib/Target/Mips/MipsTargetObjectFile.cpp
+++ b/
lib/Target/Mips/MipsTargetObjectFile.cpp
@@
-81,7
+81,8
@@
IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM,
return false;
Type *Ty = GV->getType()->getElementType();
- return IsInSmallSection(TM.getDataLayout()->getTypeAllocSize(Ty));
+ return IsInSmallSection(
+ TM.getSubtargetImpl()->getDataLayout()->getTypeAllocSize(Ty));
}