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

Side by Side Diff: test/mjsunit/regress/regress-crbug-502930.js

Issue 1200003002: Map::ReconfigureProperty() should mark map as unstable when it returns a different map. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Spurious changes in comments fixed Created 5 years, 6 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
« no previous file with comments | « test/cctest/test-migrations.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5
6 var accessor_to_data_case = (function() {
7 var v = {};
8 Object.defineProperty(v, "foo", { get: function() { return 42; }, configurable : true});
9
10 var obj = {};
11 obj["boom"] = v;
12
13 Object.defineProperty(v, "foo", { value: 0, writable: true, configurable: true });
14 return obj;
15 })();
16
17
18 var data_to_accessor_case = (function() {
19 var v = {};
20 Object.defineProperty(v, "bar", { value: 0, writable: true, configurable: true });
21
22 var obj = {};
23 obj["bam"] = v;
24
25 Object.defineProperty(v, "bar", { get: function() { return 42; }, configurable : true});
26 return obj;
27 })();
OLDNEW
« no previous file with comments | « test/cctest/test-migrations.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698