v8/test/mjsunit/regress/regress-3687.js
ishell@chromium.org bc8c41c08d Avoid fast short-cut in Map::GeneralizeRepresentation() for literals with non-simple transitions.
It started showing after r25253.

BUG=v8:3687
LOG=N
R=verwaest@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#25324}
2014-11-13 10:56:31 +00:00

23 lines
363 B
JavaScript

// 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.
// Flags: --allow-natives-syntax
var t1 = { f1: 0 };
var t2 = { f2: 0 };
var z = {
x: {
x: t1,
y: {
x: {},
z1: {
x: t2,
y: 1
}
}
},
z2: 0
};