mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 841146: Remove unused member-variable 'compileContext_' from class ParallelArrayVisitor. r=nmatsakis
This commit is contained in:
parent
60e0afc687
commit
64920f7e29
@ -69,7 +69,6 @@ using parallel::SpewCompile;
|
|||||||
class ParallelArrayVisitor : public MInstructionVisitor
|
class ParallelArrayVisitor : public MInstructionVisitor
|
||||||
{
|
{
|
||||||
JSContext *cx_;
|
JSContext *cx_;
|
||||||
ParallelCompileContext &compileContext_;
|
|
||||||
MIRGraph &graph_;
|
MIRGraph &graph_;
|
||||||
bool unsafe_;
|
bool unsafe_;
|
||||||
MDefinition *parSlice_;
|
MDefinition *parSlice_;
|
||||||
@ -97,10 +96,9 @@ class ParallelArrayVisitor : public MInstructionVisitor
|
|||||||
public:
|
public:
|
||||||
AutoObjectVector callTargets;
|
AutoObjectVector callTargets;
|
||||||
|
|
||||||
ParallelArrayVisitor(JSContext *cx, ParallelCompileContext &compileContext,
|
ParallelArrayVisitor(JSContext *cx,
|
||||||
MIRGraph &graph)
|
MIRGraph &graph)
|
||||||
: cx_(cx),
|
: cx_(cx),
|
||||||
compileContext_(compileContext),
|
|
||||||
graph_(graph),
|
graph_(graph),
|
||||||
unsafe_(false),
|
unsafe_(false),
|
||||||
parSlice_(NULL),
|
parSlice_(NULL),
|
||||||
@ -331,7 +329,7 @@ ParallelCompileContext::analyzeAndGrowWorklist(MIRGenerator *mir, MIRGraph &grap
|
|||||||
// We don't need a worklist, though, because the graph is sorted
|
// We don't need a worklist, though, because the graph is sorted
|
||||||
// in RPO. Therefore, we just use the marked flags to tell us
|
// in RPO. Therefore, we just use the marked flags to tell us
|
||||||
// when we visited some predecessor of the current block.
|
// when we visited some predecessor of the current block.
|
||||||
ParallelArrayVisitor visitor(cx_, *this, graph);
|
ParallelArrayVisitor visitor(cx_, graph);
|
||||||
graph.entryBlock()->mark(); // Note: in par. exec., we never enter from OSR.
|
graph.entryBlock()->mark(); // Note: in par. exec., we never enter from OSR.
|
||||||
uint32_t marked = 0;
|
uint32_t marked = 0;
|
||||||
for (ReversePostorderIterator block(graph.rpoBegin()); block != graph.rpoEnd(); block++) {
|
for (ReversePostorderIterator block(graph.rpoBegin()); block != graph.rpoEnd(); block++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user