Allocate Facet fids for debugging
This commit is contained in:
parent
3977e57b38
commit
2c78d1ad0a
|
@ -136,8 +136,10 @@ function Facet(actor) {
|
||||||
this.parent = Facet.current;
|
this.parent = Facet.current;
|
||||||
this.fields = Dataflow.Graph.newScope((this.parent && this.parent.fields) || actor.fields);
|
this.fields = Dataflow.Graph.newScope((this.parent && this.parent.fields) || actor.fields);
|
||||||
this.terminated = false;
|
this.terminated = false;
|
||||||
|
this.fid = Facet.nextFid++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Facet.nextFid = 0;
|
||||||
Facet.current = null;
|
Facet.current = null;
|
||||||
|
|
||||||
function withCurrentFacet(facet, f) {
|
function withCurrentFacet(facet, f) {
|
||||||
|
|
Loading…
Reference in New Issue