mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
Cleanup
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56578 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36133dd324
commit
dbab2d2272
@ -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…
Reference in New Issue
Block a user