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

Unified Diff: test/mjsunit/harmony/regress/regress-crbug-347528.js

Issue 185653004: Experimental parser: merge to r19637 (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 10 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
Index: test/mjsunit/harmony/regress/regress-crbug-347528.js
diff --git a/test/message/replacement-marker-as-argument.js b/test/mjsunit/harmony/regress/regress-crbug-347528.js
similarity index 87%
copy from test/message/replacement-marker-as-argument.js
copy to test/mjsunit/harmony/regress/regress-crbug-347528.js
index 22a68ecbe556931342adfdcea84e9eed7a4a466a..e4e8efbc9c00f5e114b30d8973cdd9bf634b5802 100644
--- a/test/message/replacement-marker-as-argument.js
+++ b/test/mjsunit/harmony/regress/regress-crbug-347528.js
@@ -1,4 +1,4 @@
-// Copyright 2011 the V8 project authors. All rights reserved.
+// Copyright 2014 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -25,7 +25,12 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-"use strict";
+// Flags: --allow-natives-syntax --harmony
-var o = { get "%3" (){} };
-o["%3"] = 10;
+"use strict";
+let unused_var = 1;
+function __f_12() { new Array(); }
+__f_12();
+__f_12();
+%OptimizeFunctionOnNextCall(__f_12);
+__f_12();
« no previous file with comments | « test/mjsunit/harmony/regress/regress-crbug-346141.js ('k') | test/mjsunit/harmony/regress/regress-lookup-transition.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698