mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 845222: Remove unused private field Loop::graph. r=jandem
This commit is contained in:
parent
aba82f94bc
commit
4765f2bfea
@ -36,7 +36,7 @@ LICM::analyze()
|
||||
continue;
|
||||
|
||||
// Attempt to optimize loop.
|
||||
Loop loop(mir, header->backedge(), header, graph);
|
||||
Loop loop(mir, header->backedge(), header);
|
||||
|
||||
Loop::LoopReturn lr = loop.init();
|
||||
if (lr == Loop::LoopReturn_Error)
|
||||
@ -55,9 +55,8 @@ LICM::analyze()
|
||||
return true;
|
||||
}
|
||||
|
||||
Loop::Loop(MIRGenerator *mir, MBasicBlock *footer, MBasicBlock *header, MIRGraph &graph)
|
||||
Loop::Loop(MIRGenerator *mir, MBasicBlock *footer, MBasicBlock *header)
|
||||
: mir(mir),
|
||||
graph(graph),
|
||||
footer_(footer),
|
||||
header_(header)
|
||||
{
|
||||
|
@ -36,7 +36,6 @@ class LICM
|
||||
class Loop
|
||||
{
|
||||
MIRGenerator *mir;
|
||||
MIRGraph &graph;
|
||||
|
||||
public:
|
||||
// Loop code may return three values:
|
||||
@ -48,7 +47,7 @@ class Loop
|
||||
|
||||
public:
|
||||
// A loop is constructed on a backedge found in the control flow graph.
|
||||
Loop(MIRGenerator *mir, MBasicBlock *header, MBasicBlock *footer, MIRGraph &graph);
|
||||
Loop(MIRGenerator *mir, MBasicBlock *header, MBasicBlock *footer);
|
||||
|
||||
// Initializes the loop, finds all blocks and instructions contained in the loop.
|
||||
LoopReturn init();
|
||||
|
Loading…
Reference in New Issue
Block a user