fix compressing benchmark.js (it tried to evaluate a statement)
authorMihai Bazon <mihai@bazon.net>
Sat, 13 Oct 2012 09:56:56 +0000 (12:56 +0300)
committerMihai Bazon <mihai@bazon.net>
Sat, 13 Oct 2012 09:57:10 +0000 (12:57 +0300)
commit851b48e4a3ecdbe7d77ec827f94d67092d2890ef
treed4635ed724708705b6ffa94bc87421d96a0f4533
parent708abb1ab141c737a70fca9e0af839a0b68d9db0
fix compressing benchmark.js (it tried to evaluate a statement)

the following code in benchmark.js triggered the issue:

    support.decompilation = Function(
      'return (' + (function(x) { return { 'x': '' + (1 + x) + '', 'y': 0 }; }) + ')'
    )()(0).x === '1';

technically that could be resolved into a constant expression, but seems
it's being used here for browser bugs detection :-\
lib/compress.js