• bradnelson's avatar
    Preserve information about dots in numbers across parser rewriting. · 1e4681c3
    bradnelson authored
    Fix several operations in the parser that rewrite constant expressions
    to preserve knowledge regarding whether a value originally contained a ".".
    This information is required to accurately validate Asm.js typing.
    
    Making the assumption that if either side of a binary operation contains
    a dot, that the rewritten expression should be treated as a double for
    Asm.js purposes. This is a slight deviation from the spec (which
    would forbid mix type operations).
    
    BUG= https://code.google.com/p/v8/issues/detail?id=4203
    TEST=test-asm-validator, test-parsing
    R=titzer@chromium.org,marja@chromium.org,aseemgarg@chromium.org
    LOG=N
    
    Review URL: https://codereview.chromium.org/1492123002
    
    Cr-Commit-Position: refs/heads/master@{#32581}
    1e4681c3
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest 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...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...
bot_default.gyp Loading commit data...
bot_default.isolate Loading commit data...
default.gyp Loading commit data...
default.isolate Loading commit data...
optimize_for_size.gyp Loading commit data...
optimize_for_size.isolate Loading commit data...