• Hai Dang's avatar
    Fix typing of binary operators on BigInt. · c5c6b8bc
    Hai Dang authored
    BinaryNumberOpTyper was not monotonic: if one input changes
    from Number to Numeric, while the other input stays BigInt,
    the result would change from Number to BigInt.
    
    We have some fuzzing tests for monotonicity but unfortunately
    they never generated the inputs required for triggering this bug.
    We'll look into improving our tests.
    
    Bug: v8:8380
    Change-Id: I7320d9ae4b89ad8798bf9e97cc272edba2162a77
    Reviewed-on: https://chromium-review.googlesource.com/c/1307418
    Commit-Queue: Hai Dang <dhai@google.com>
    Reviewed-by: 's avatarGeorg Neis <neis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#57125}
    c5c6b8bc
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
torque Loading commit data...
unittests Loading commit data...
wasm-js Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...