v8/test/mjsunit/regress/regress-crbug-1383976.js
Toon Verwaest 1ffbbe5969 [runtime] Make stores to existing double fields always drop const
Dedeprecation to tagged is otherwise madness.

Bug: chromium:1383976

Change-Id: I4ed16b9cc59ca113c16099895d1721e3eb0288b1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4030486
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Auto-Submit: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/main@{#84304}
2022-11-16 17:05:25 +00:00

25 lines
409 B
JavaScript

// Copyright 2022 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.
let __v_34 =
{
a: -9007199254740990,
b: 0
};
let __v_35 = {
a: 2,
b: 0
};
Object.defineProperty(__v_34, "b", {
value: 4.2,
});
let __v_36 = {
a: "foo",
b: 0
};
Object.defineProperty(__v_35, "a",
{
value: 2,
});