• Simon Zünd's avatar
    [array] Remove CHECK_LE from RemoveArrayHolesGeneric · e38faab1
    Simon Zünd authored
    This CL removes a CHECK_LE that does not hold in all cases. After
    moving all elements to the front, current_pos will point to the next
    free spot. In the case where an object is 'packed', i.e. each index
    has a non-undefined value, and the length is smaller then the max
    index, current_pos will be greater than the length (limit in the code).
    
    Sidenote: The block after taking the minimum (where the counted
    undefineds get set) will not be affected. In the case where
    num_undefined > 0, current_pos should be guaranteed to be smaller
    than limit, as long there are no accessors with side-effects.
    
    R=jgruber@chromium.org
    
    Bug: chromium:923265
    Change-Id: Id533cdc4db6c6c6f266cf7c6a8ab6ecbbeee7016
    Reviewed-on: https://chromium-review.googlesource.com/c/1420679Reviewed-by: 's avatarJakob Gruber <jgruber@chromium.org>
    Commit-Queue: Simon Zünd <szuend@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#58912}
    e38faab1
Name
Last commit
Last update
..
runtime-array.cc Loading commit data...
runtime-atomics.cc Loading commit data...
runtime-bigint.cc Loading commit data...
runtime-classes.cc Loading commit data...
runtime-collections.cc Loading commit data...
runtime-compiler.cc Loading commit data...
runtime-date.cc Loading commit data...
runtime-debug.cc Loading commit data...
runtime-forin.cc Loading commit data...
runtime-function.cc Loading commit data...
runtime-futex.cc Loading commit data...
runtime-generator.cc Loading commit data...
runtime-internal.cc Loading commit data...
runtime-interpreter.cc Loading commit data...
runtime-intl.cc Loading commit data...
runtime-literals.cc Loading commit data...
runtime-module.cc Loading commit data...
runtime-numbers.cc Loading commit data...
runtime-object.cc Loading commit data...
runtime-operators.cc Loading commit data...
runtime-promise.cc Loading commit data...
runtime-proxy.cc Loading commit data...
runtime-regexp.cc Loading commit data...
runtime-scopes.cc Loading commit data...
runtime-strings.cc Loading commit data...
runtime-symbol.cc Loading commit data...
runtime-test.cc Loading commit data...
runtime-typedarray.cc Loading commit data...
runtime-utils.h Loading commit data...
runtime-wasm.cc Loading commit data...
runtime-weak-refs.cc Loading commit data...
runtime.cc Loading commit data...
runtime.h Loading commit data...