mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 19:31:58 +00:00
remove calls to dead methods.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93657 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c94c825a40
commit
7c3418ba58
@ -440,14 +440,6 @@ void LTOModule::lazyParseSymbols()
|
|||||||
|
|
||||||
// Use mangler to add GlobalPrefix to names to match linker names.
|
// Use mangler to add GlobalPrefix to names to match linker names.
|
||||||
Mangler mangler(*_module, _target->getMCAsmInfo()->getGlobalPrefix());
|
Mangler mangler(*_module, _target->getMCAsmInfo()->getGlobalPrefix());
|
||||||
// add chars used in ObjC method names so method names aren't mangled
|
|
||||||
mangler.markCharAcceptable('[');
|
|
||||||
mangler.markCharAcceptable(']');
|
|
||||||
mangler.markCharAcceptable('(');
|
|
||||||
mangler.markCharAcceptable(')');
|
|
||||||
mangler.markCharAcceptable('-');
|
|
||||||
mangler.markCharAcceptable('+');
|
|
||||||
mangler.markCharAcceptable(' ');
|
|
||||||
|
|
||||||
// add functions
|
// add functions
|
||||||
for (Module::iterator f = _module->begin(); f != _module->end(); ++f) {
|
for (Module::iterator f = _module->begin(); f != _module->end(); ++f) {
|
||||||
|
Loading…
Reference in New Issue
Block a user