Fix redundant statement and out-of-date comment.

This commit is contained in:
brendan@mozilla.org 2007-07-02 14:06:52 -07:00
parent 048817c4c8
commit 0a1dcc0efb
2 changed files with 1 additions and 5 deletions

View File

@ -724,7 +724,6 @@ RemovePropertyTreeChild(JSRuntime *rt, JSScopeProperty *child)
if (!list)
parent->kids = NULL;
freeChunk = lastChunk;
goto out;
}
goto out;
}

View File

@ -119,10 +119,7 @@
* are find-node and insert-node, then the only hazard is duplicate insertion.
* This is harmless except for minor bloat. When all requests have ended or
* been suspended, the GC is free to sweep the tree after marking all nodes
* reachable from scopes, performing remove-node operations as needed. Note
* also that the stable storage of the property nodes during active requests
* permits the property cache (see jsinterp.h) to dereference JSScopeProperty
* weak references safely.
* reachable from scopes, performing remove-node operations as needed.
*
* Is the property tree worth it compared to property storage in each table's
* entries? To decide, we must find the relation <> between the words used