Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Issue 1492123002: Preserve information about dots in numbers across parser rewriting. (Closed)

Created:
5 years ago by bradn
Modified:
5 years ago
Reviewers:
titzer, aseemgarg, marja
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Preserve information about dots in numbers across parser rewriting. 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 Committed: https://crrev.com/1e4681c33fd4ea3d5a872033b2c4626ad150a533 Cr-Commit-Position: refs/heads/master@{#32581}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -12 lines) Patch
M src/parsing/parser.cc View 2 chunks +16 lines, -12 lines 0 comments Download
M test/cctest/test-asm-validator.cc View 1 chunk +32 lines, -0 lines 0 comments Download
M test/cctest/test-parsing.cc View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
bradn
PTAL I'm a little concerned we might want to simply turn off the rewrites for ...
5 years ago (2015-12-02 20:45:08 UTC) #2
aseemgarg
lgtm looks good to me. Though as you mention, might be better, longterm, to keep ...
5 years ago (2015-12-02 21:15:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492123002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492123002/1
5 years ago (2015-12-02 22:22:55 UTC) #5
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years ago (2015-12-02 22:22:56 UTC) #7
bradn
ping
5 years ago (2015-12-03 17:13:26 UTC) #8
titzer
On 2015/12/03 17:13:26, bradn wrote: > ping lgtm
5 years ago (2015-12-03 17:50:06 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492123002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492123002/1
5 years ago (2015-12-03 17:55:12 UTC) #11
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-03 18:14:17 UTC) #13
commit-bot: I haz the power
5 years ago (2015-12-03 18:14:50 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/1e4681c33fd4ea3d5a872033b2c4626ad150a533
Cr-Commit-Position: refs/heads/master@{#32581}

Powered by Google App Engine
This is Rietveld 408576698