v8/test/mjsunit/regress/regress-crbug-718779.js
jkummerow ceba405f28 [runtime] MigrateFastToFast: fix check for unboxed inobject doubles
After the recent fast-property deletion changes, there can be a
non-empty out-of-object backing store (that previously held properties)
even though the next double property will be stored in-object.

BUG=chromium:718779

Review-Url: https://codereview.chromium.org/2861093004
Cr-Commit-Position: refs/heads/master@{#45146}
2017-05-05 22:23:04 +00:00

22 lines
419 B
JavaScript

// Copyright 2017 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.
function __f_1()
{
__v_1.p2 = 2147483648;
__v_1.p3 = 3;
__v_1.p4 = 4;
__v_1.p5 = 2147483648;
__v_1.p6 = 6;
}
function __f_2()
{
delete __v_1.p6;
delete __v_1.p5;
}
var __v_1 = { };
__f_1(__v_1);
__f_2(__v_1);
__f_1(__v_1);