mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
81d6990263
My optimization for PreorderNodeIterator has a bug that would cause an attempt to access stack[-1] in currentParent = (current == null) ? null : stack[stackTop - 1]; when current refers to a start node sibling. This is not visible in Rhino because currently PreorderNodeIterator is always started from nodes with node.next == null. iter.diff fixes that plus it removes currentParent field because it is always available as stack[stackTop - 1] and code to access its value are executed less frequently than the lines to update it in nextNode Regarsd, Igor |
||
---|---|---|
.. | ||
benchmarks | ||
js2 | ||
jsd | ||
jsdj | ||
jsj | ||
macbuild | ||
ref | ||
rhino | ||
src | ||
tests | ||
.cvsignore | ||
landbranch.pl | ||
Makefile.in | ||
makefile.win |