projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
land David Blaikie's patch to de-constify Type, with a few tweaks.
[oota-llvm.git]
/
lib
/
Target
/
Mips
/
MipsTargetObjectFile.cpp
diff --git
a/lib/Target/Mips/MipsTargetObjectFile.cpp
b/lib/Target/Mips/MipsTargetObjectFile.cpp
index cf5d1b58addd73ac4fab5e1a66323deaec573c72..05c46f5c97a5ca21eb9855995a950ec1a25aa89d 100644
(file)
--- a/
lib/Target/Mips/MipsTargetObjectFile.cpp
+++ b/
lib/Target/Mips/MipsTargetObjectFile.cpp
@@
-79,7
+79,7
@@
IsGlobalInSmallSection(const GlobalValue *GV, const TargetMachine &TM,
if (Kind.isMergeable1ByteCString())
return false;
-
const
Type *Ty = GV->getType()->getElementType();
+ Type *Ty = GV->getType()->getElementType();
return IsInSmallSection(TM.getTargetData()->getTypeAllocSize(Ty));
}