diff options
author | Mihai Bazon <mihai.bazon@gmail.com> | 2015-04-17 11:25:19 +0300 |
---|---|---|
committer | Mihai Bazon <mihai.bazon@gmail.com> | 2015-04-17 11:26:36 +0300 |
commit | 274e1b3dc75ff72c85f803f642e3bb51a0d15953 (patch) | |
tree | a327aa676803b97130c2f65682019422899cda25 | |
parent | de58b0289d8858b60f5f9aa6e5548fae39109d06 (diff) | |
download | tracifyjs-274e1b3dc75ff72c85f803f642e3bb51a0d15953.tar.gz tracifyjs-274e1b3dc75ff72c85f803f642e3bb51a0d15953.zip |
Drop NaN -> 0/0 transformation.
Fix #687
-rw-r--r-- | lib/compress.js | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/compress.js b/lib/compress.js index fa89c322..7d20a4ea 100644 --- a/lib/compress.js +++ b/lib/compress.js @@ -2272,14 +2272,6 @@ merge(Compressor.prototype, { }); }); - OPT(AST_NaN, function (self, compressor) { - return make_node(AST_Binary, self, { - operator : '/', - left : make_node(AST_Number, self, {value: 0}), - right : make_node(AST_Number, self, {value: 0}) - }); - }); - OPT(AST_Undefined, function(self, compressor){ if (compressor.option("unsafe")) { var scope = compressor.find_parent(AST_Scope); |