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

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

Issue 669403002: Fixed mutable heap numbers leak in JSON parser. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments Created 6 years, 2 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/json-parser.h ('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/json-parser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698