michael@0: // Compiled michael@0: function TestCase(a) { } michael@0: michael@0: // Not compiled (try) michael@0: function reportCompare (actual) { michael@0: TestCase(actual); michael@0: try { } catch(ex) { } michael@0: } michael@0: michael@0: // Compiled michael@0: function addThis(bound) { michael@0: actualvalues[bound] = undefined + actual; michael@0: reportCompare(actualvalues[bound]); michael@0: } michael@0: michael@0: var actual = ''; michael@0: var actualvalues = []; michael@0: addThis(0); michael@0: actual = NaN; michael@0: addThis(1);