Commit 0f2a324c authored by verwaest@chromium.org's avatar verwaest@chromium.org

Fix generalization with callbacks.

BUG=352588
LOG=n
R=danno@chromium.org

Review URL: https://codereview.chromium.org/200173003

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19935 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent dc24a172
...@@ -2620,6 +2620,8 @@ Map* Map::FindUpdatedMap(int verbatim, ...@@ -2620,6 +2620,8 @@ Map* Map::FindUpdatedMap(int verbatim,
current->instance_descriptors()->GetValue(i)) { current->instance_descriptors()->GetValue(i)) {
return NULL; return NULL;
} }
} else if (target_details.type() == CALLBACKS) {
return NULL;
} }
} }
......
// Copyright 2014 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
var o1 = {};
o1.x = 1
o1.y = 1.5
var o2 = {}
o2.x = 1.5;
o2.__defineSetter__('y', function(v) { });
o1.y;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment