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

Unified Diff: test/mjsunit/regress/regress-crbug-423687.js

Issue 705583002: Version 3.29.88.15 (merged r24849) (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.29
Patch Set: Created 6 years, 1 month 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/version.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-crbug-423687.js
diff --git a/test/mjsunit/regress/regress-crbug-412210.js b/test/mjsunit/regress/regress-crbug-423687.js
similarity index 67%
copy from test/mjsunit/regress/regress-crbug-412210.js
copy to test/mjsunit/regress/regress-crbug-423687.js
index 6ec7d62379c2dbc511da1c29d96216637e1fcae1..60003527e81453b895ee8ad5b9c3517a5648ff8f 100644
--- a/test/mjsunit/regress/regress-crbug-412210.js
+++ b/test/mjsunit/regress/regress-crbug-423687.js
@@ -4,9 +4,7 @@
// Flags: --allow-natives-syntax
-function f(x) {
- return (x ? "" >> 0 : "") + /a/;
-};
+var json = '{"a":{"c":2.1,"d":0},"b":{"c":7,"1024":8}}';
+var data = JSON.parse(json);
-%OptimizeFunctionOnNextCall(f);
-f();
+data.b.c++;
« no previous file with comments | « src/version.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698