Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1002)

Unified Diff: test/message/single-function-literal.js

Issue 1053563002: Revert of Correctly compute line numbers in functions from the function constructor. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added regression test Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/v8natives.js ('k') | test/mjsunit/regress/regress-crbug-109362.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/single-function-literal.js
diff --git a/test/message/single-function-literal.js b/test/message/single-function-literal.js
index fd734918ecaf31aaf73c8fad7405bb93a7c5d96e..96d3bd663a23ddfd6c254de256e9382a16d8922a 100644
--- a/test/message/single-function-literal.js
+++ b/test/message/single-function-literal.js
@@ -27,6 +27,6 @@
// Flags: --allow-natives-syntax
var single_function_good = "(function() { return 5; })";
-%CompileString(single_function_good, true, 0);
+%CompileString(single_function_good, true);
var single_function_bad = "(function() { return 5; })();";
-%CompileString(single_function_bad, true, 0);
+%CompileString(single_function_bad, true);
« no previous file with comments | « src/v8natives.js ('k') | test/mjsunit/regress/regress-crbug-109362.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698