mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-21 11:15:33 +00:00
Cleanup
llvm-svn: 56578
This commit is contained in:
parent
1b3c67c5cf
commit
154a35a723
@ -128,7 +128,7 @@ DarwinTargetAsmInfo::MergeableStringSection(const GlobalVariable *GV) const {
|
||||
|
||||
const Section*
|
||||
DarwinTargetAsmInfo::MergeableConstSection(const GlobalVariable *GV) const {
|
||||
Constant *C = cast<GlobalVariable>(GV)->getInitializer();
|
||||
Constant *C = GV->getInitializer();
|
||||
|
||||
return MergeableConstSection(C->getType());
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ ELFTargetAsmInfo::SelectSectionForMachineConst(const Type *Ty) const {
|
||||
|
||||
const Section*
|
||||
ELFTargetAsmInfo::MergeableConstSection(const GlobalVariable *GV) const {
|
||||
Constant *C = cast<GlobalVariable>(GV)->getInitializer();
|
||||
Constant *C = GV->getInitializer();
|
||||
return MergeableConstSection(C->getType());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user