зеркало из https://github.com/mozilla/pjs.git
bbf6be4e2c
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 | ||
Makefile.in | ||
landbranch.pl | ||
makefile.win |