https://github.com/mishoo/UglifyJS
Revision cf4bf4ceb1eee86197d51e77e640e59ca04739b8 authored by Alex Lam S.L on 15 March 2017, 17:02:59 UTC, committed by GitHub on 15 March 2017, 17:02:59 UTC
As patched in #1597, `make_node_from_constant()` makes inconsistent and sometimes incorrect calls to `optimize()` and `transform()`.

Fix those issues properly by changing the semantics of `evaluate()` and `make_node_from_constant()`, with the side effect that `evaluate()` no longer eagerly converts constant to `AST_Node`.
1 parent 8223b2e
History
Tip revision: cf4bf4ceb1eee86197d51e77e640e59ca04739b8 authored by Alex Lam S.L on 15 March 2017, 17:02:59 UTC
fix stack issues with `AST_Node.evaluate()` (#1603)
Tip revision: cf4bf4c
File Mode Size
.github
bin
lib
test
tools
.gitattributes -rw-r--r-- 20 bytes
.gitignore -rw-r--r-- 35 bytes
.travis.yml -rw-r--r-- 191 bytes
LICENSE -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 40.2 KB
appveyor.yml -rw-r--r-- 350 bytes
package.json -rw-r--r-- 1.3 KB

README.md

back to top