Index: test/mjsunit/mirror-script.js |
diff --git a/test/mjsunit/mirror-script.js b/test/mjsunit/mirror-script.js |
index 8631028e4e3e94af0aea3c3e5c0341e19f498105..71561701a2383e89daf1c9462e0e499c6d61f703 100644 |
--- a/test/mjsunit/mirror-script.js |
+++ b/test/mjsunit/mirror-script.js |
@@ -83,12 +83,10 @@ function testScriptMirror(f, file_name, file_lines, type, compilation_type, |
// Test the script mirror for different functions. |
-testScriptMirror(function(){}, 'mirror-script.js', 100, 2, 0); |
+testScriptMirror(function(){}, 'mirror-script.js', 98, 2, 0); |
testScriptMirror(Math.sin, 'native math.js', -1, 0, 0); |
testScriptMirror(eval('(function(){})'), null, 1, 2, 1, '(function(){})', 87); |
testScriptMirror(eval('(function(){\n })'), null, 2, 2, 1, '(function(){\n })', 88); |
-testScriptMirror(%CompileString('{"a":1,"b":2}', true), null, 1, 2, 2, '{"a":1,"b":2}'); |
-testScriptMirror(%CompileString('{"a":1,\n "b":2}', true), null, 2, 2, 2, '{"a":1,\n "b":2}'); |
// Test taking slices of source. |
var mirror = debug.MakeMirror(eval('(function(){\n 1;\n})')).script(); |