Skip to content

Commit e4afb5d

Browse files
committed
Remove old code.
1 parent 4d0be84 commit e4afb5d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tools/js-optimizer.js

-2
Original file line numberDiff line numberDiff line change
@@ -2035,7 +2035,6 @@ function eliminate(ast, memSafe) {
20352035
// examine body and note locals
20362036
var hasSwitch = false;
20372037
traverse(func, function(node, type) {
2038-
if (debug && type) type = type.toString();
20392038
if (type === 'var') {
20402039
var node1 = node[1];
20412040
for (var i = 0; i < node1.length; i++) {
@@ -2645,7 +2644,6 @@ function eliminate(ast, memSafe) {
26452644
var has_num = false;
26462645
var fail = false;
26472646
traverse(node, function(subNode, subType) {
2648-
if (debug && subType) subType = subType.toString();
26492647
if (subType === 'binary') {
26502648
if (subNode[1] !== '+') {
26512649
fail = true;

0 commit comments

Comments
 (0)