aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Bazon <mihai.bazon@gmail.com>2015-04-17 11:25:19 +0300
committerMihai Bazon <mihai.bazon@gmail.com>2015-04-17 11:26:36 +0300
commit274e1b3dc75ff72c85f803f642e3bb51a0d15953 (patch)
treea327aa676803b97130c2f65682019422899cda25
parentde58b0289d8858b60f5f9aa6e5548fae39109d06 (diff)
downloadtracifyjs-274e1b3dc75ff72c85f803f642e3bb51a0d15953.tar.gz
tracifyjs-274e1b3dc75ff72c85f803f642e3bb51a0d15953.zip
Drop NaN -> 0/0 transformation.
Fix #687
-rw-r--r--lib/compress.js8
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);