• Jakob Kummerow's avatar
    Fix overzealous assert in CallOrConstructVarArgs · 34225a6a
    Jakob Kummerow authored
    For spread calls with arrays with double elements but zero length,
    we skip the box-as-heapnumber step; so in this corner case the
    Call builtin sees a FixedDoubleArray, which is fine because it
    doesn't read any of the raw double values from it.
    This patch doesn't change the implementation, it only updates the
    assert to match reality.
    
    Bug: chromium:856095
    Change-Id: I0227f4ccbc6c61c8f5f7669a266ef7a64c6a9a43
    Reviewed-on: https://chromium-review.googlesource.com/1117922Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
    Commit-Queue: Jakob Kummerow <jkummerow@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#54149}
    34225a6a
macro-assembler-ia32.cc 53.2 KB