| Index: test/mjsunit/debug-compile-event.js
|
| ===================================================================
|
| --- test/mjsunit/debug-compile-event.js (revision 3006)
|
| +++ test/mjsunit/debug-compile-event.js (working copy)
|
| @@ -102,10 +102,10 @@
|
|
|
| // Compile different sources.
|
| compileSource('a=1');
|
| -compileSource('function(){}');
|
| +compileSource('(function(){})');
|
| compileSource('eval("a=2")');
|
| source_count++; // Using eval causes additional compilation event.
|
| -compileSource('eval("eval(\'function(){return a;}\')")');
|
| +compileSource('eval("eval(\'(function(){return a;})\')")');
|
| source_count += 2; // Using eval causes additional compilation event.
|
| compileSource('JSON.parse("{a:1,b:2}")');
|
| source_count++; // Using JSON.parse causes additional compilation event.
|
|
|