gecko-dev/js
Jason Orendorff 78e47bd125 Bug 1529607 - Part 7: Rewrite NameFunctions.cpp to use ParseNodeVisitor. r=khyperia
This may lose some tiny amount of performance since the existing code
duplicated a huge amount of code in order to avoid walking bits of the tree
that can't contain functions. I preserved a few of those hacks but some of the
bits seemed too small to bother with.

The expression `nparents_ - 1` is changed to `nparents_ - 2` because, as a
result of how ParseNodeVisitor control flow works, we now call gatherNameable
*after* pushing the current FunctionNode to the stack, rather than before.
(A new assertion checks that this is the case.)

Differential Revision: https://phabricator.services.mozilla.com/D20720

--HG--
extra : moz-landing-system : lando
2019-02-22 18:06:01 +00:00
..
ductwork/debugger Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE 2019-02-14 11:50:23 +02:00
examples No bug. Make jorendb give a REPL even if the script throws an exception. r=NPOAEW 2019-01-08 14:21:25 -08:00
ipc Bug 1525674 part 1 - Change the enumerate proxy trap to return the jsid vector instead of an iterator. r=bzbarsky,evilpie 2019-02-08 08:17:00 +00:00
public Bug 1528931 - Introduce JS::ValueType and Value::type. r=jandem 2019-02-21 20:36:44 +00:00
rust Bug 1525674 part 1 - Change the enumerate proxy trap to return the jsid vector instead of an iterator. r=bzbarsky,evilpie 2019-02-08 08:17:00 +00:00
src Bug 1529607 - Part 7: Rewrite NameFunctions.cpp to use ParseNodeVisitor. r=khyperia 2019-02-22 18:06:01 +00:00
xpconnect Bug 1528867 - Add a new version of the GC_NURSERY_BYTES telemetry histogram r=chutten 2019-02-22 04:00:24 +00:00
app.mozbuild
ffi.configure Bug 1519040 - Remove some unused old-configure assignments. r=mshal 2019-01-10 22:02:04 +00:00
moz.build
moz.configure Bug 1528226 - Check rustc version before cbindgen. r=froydnj 2019-02-15 15:23:08 +00:00
sub.configure Bug 1520394 - Don't invoke js subconfigure as a separate process. r=nalexander 2019-01-16 23:42:12 +00:00