Drop NaN -> 0/0 transformation.

Fix #687
This commit is contained in:
Mihai Bazon
2015-04-17 11:25:19 +03:00
parent de58b0289d
commit 274e1b3dc7

View File

@@ -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);