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

Side by Side Diff: test/mjsunit/regress/regress-3135.js

Issue 184443002: Evict from optimized code map in sync with removing from optimized functions list. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « test/mjsunit/regress-sync-optimized-lists.js ('k') | test/mjsunit/regress/regress-330046.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Properties are serialized once. 5 // Properties are serialized once.
6 assertEquals('{"x":1}', JSON.stringify({ x : 1 }, ["x", 1, "x", 1])); 6 assertEquals('{"x":1}', JSON.stringify({ x : 1 }, ["x", 1, "x", 1]));
7 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, ["x", 1, "x", 1])); 7 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, ["x", 1, "x", 1]));
8 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, ["1", 1, "1", 1])); 8 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, ["1", 1, "1", 1]));
9 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, [1, "1", 1, "1"])); 9 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, [1, "1", 1, "1"]));
10 10
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 assertEquals('{}', 44 assertEquals('{}',
45 JSON.stringify({ x : 1, "1": 1 }, [{}])); 45 JSON.stringify({ x : 1, "1": 1 }, [{}]));
46 assertEquals('{}', 46 assertEquals('{}',
47 JSON.stringify({ x : 1, "1": 1 }, [true, undefined, null])); 47 JSON.stringify({ x : 1, "1": 1 }, [true, undefined, null]));
48 assertEquals('{}', 48 assertEquals('{}',
49 JSON.stringify({ x : 1, "1": 1 }, 49 JSON.stringify({ x : 1, "1": 1 },
50 [{ toString: function() { return "x";} }])); 50 [{ toString: function() { return "x";} }]));
51 assertEquals('{}', 51 assertEquals('{}',
52 JSON.stringify({ x : 1, "1": 1 }, 52 JSON.stringify({ x : 1, "1": 1 },
53 [{ valueOf: function() { return 1;} }])); 53 [{ valueOf: function() { return 1;} }]));
OLDNEW
« no previous file with comments | « test/mjsunit/regress-sync-optimized-lists.js ('k') | test/mjsunit/regress/regress-330046.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698