• Z Nguyen-Huu's avatar
    Remove unnecessary DCHECK · bf1ab278
    Z Nguyen-Huu authored
    This DCHECK is unnecessary because the object can be sealed or frozen
    before it is set as a prototype map.
    
    The repro is
    Object.seal(Object);// Object is HOLEY_FROZEN_ELEMENTS
    const v3 = Object();
    v3.__proto__ = Object; // Set prototype map bit and dictionary map bit
    const v6 = Object.seal(Object); // Turn Object to DICTIONARY_ELEMENTS
    
    Bug: chromium:980168
    Change-Id: Iec50249d0ff0c5ed959201707b837871fcb88a02
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1687280
    Commit-Queue: Z Nguyen-Huu <duongn@microsoft.com>
    Reviewed-by: 's avatarIgor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#62606}
    bf1ab278
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-api-tests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...
OWNERS Loading commit data...