• mstarzinger's avatar
    Fix usage of literal cloning for large double arrays. · 6c620e53
    mstarzinger authored
    This fixes a corner case where the {FastCloneShallowArrayStub} was used
    for literals that are backed by a double backing store and would exceed
    limits for new-space allocations on 32-bit architectures. The stub in
    question does not support such literals, callers must use the runtime.
    Note that this fix is for Ignition as well as FullCodeGenerator.
    
    R=rmcilroy@chromium.org
    TEST=mjsunit/regress/regress-crbug-672792
    BUG=chromium:672792
    
    Review-Url: https://codereview.chromium.org/2570843002
    Cr-Commit-Position: refs/heads/master@{#41713}
    6c620e53
js-generic-lowering.cc 24.4 KB