11cd2317ac
When an attempt to parse a huge string to a BigInt fails, then including the entire string in it makes the exception's message unwieldy, so this patch puts only the first 1000 characters of such invalid strings into the exception message. Bug: chromium:1245239 Change-Id: I2c62f0d34256653ba67da9666e8c5a1a4bbe0599 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3133142 Commit-Queue: Jakob Kummerow <jkummerow@chromium.org> Reviewed-by: Mathias Bynens <mathias@chromium.org> Cr-Commit-Position: refs/heads/main@{#76619} |
||
---|---|---|
.. | ||
bigint-internal.cc | ||
bigint-internal.h | ||
bigint.h | ||
DEPS | ||
digit-arithmetic.h | ||
div-barrett.cc | ||
div-burnikel.cc | ||
div-helpers.cc | ||
div-helpers.h | ||
div-schoolbook.cc | ||
fromstring.cc | ||
mul-fft.cc | ||
mul-karatsuba.cc | ||
mul-schoolbook.cc | ||
mul-toom.cc | ||
OWNERS | ||
tostring.cc | ||
util.h | ||
vector-arithmetic.cc | ||
vector-arithmetic.h |