mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-13 08:35:46 +00:00
Use actual function name in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59063 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b75b37375
commit
772777e105
@ -41,7 +41,7 @@ namespace {
|
|||||||
private:
|
private:
|
||||||
std::set<GlobalValue*> AliveGlobals;
|
std::set<GlobalValue*> AliveGlobals;
|
||||||
|
|
||||||
/// MarkGlobalIsNeeded - the specific global value as needed, and
|
/// GlobalIsNeeded - the specific global value as needed, and
|
||||||
/// recursively mark anything that it uses as also needed.
|
/// recursively mark anything that it uses as also needed.
|
||||||
void GlobalIsNeeded(GlobalValue *GV);
|
void GlobalIsNeeded(GlobalValue *GV);
|
||||||
void MarkUsedGlobalsAsNeeded(Constant *C);
|
void MarkUsedGlobalsAsNeeded(Constant *C);
|
||||||
@ -131,7 +131,7 @@ bool GlobalDCE::runOnModule(Module &M) {
|
|||||||
return Changed;
|
return Changed;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// MarkGlobalIsNeeded - the specific global value as needed, and
|
/// GlobalIsNeeded - the specific global value as needed, and
|
||||||
/// recursively mark anything that it uses as also needed.
|
/// recursively mark anything that it uses as also needed.
|
||||||
void GlobalDCE::GlobalIsNeeded(GlobalValue *G) {
|
void GlobalDCE::GlobalIsNeeded(GlobalValue *G) {
|
||||||
std::set<GlobalValue*>::iterator I = AliveGlobals.find(G);
|
std::set<GlobalValue*>::iterator I = AliveGlobals.find(G);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user