• Nico Hartmann's avatar
    Reland "Reland "[Torque] Generalize Torque literals to larger size"" · 362b30eb
    Nico Hartmann authored
    This is a reland of 517ed4ad
    
    Original change's description:
    > Reland "[Torque] Generalize Torque literals to larger size"
    >
    > Previously, literals in Torque were stored as double values, which
    > made it impossible to precisely represent 64 bit integer values.
    > This CL replaces the old literal expression with an integer and
    > floating point literal expression that are unbounded in size. We
    > allow implicit conversion of these literals to arbitary integer
    > and floating point types respectively and insert a corresponding
    > bounds check into generated CSA.
    >
    > Changes in the reland: Simplified IntegerLiteral to single digit.
    >
    > Bug: v8:7793, chromium:1289282
    > Change-Id: I31c762c2f31165c7a1d0b07842b764e5851ce189
    > Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3406750
    > Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
    > Reviewed-by: Tobias Tebbi <tebbi@chromium.org>
    > Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#78811}
    
    Bug: v8:7793, chromium:1289282
    Change-Id: I7aadc4d2c9494f03eae85e94949c8f4cab7a075c
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3437047Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
    Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
    Commit-Queue: Nico Hartmann <nicohartmann@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#78939}
    362b30eb
torque-unittest.cc 26.3 KB