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

Issue 1405383007: Increase strictness of asm type conversions. (Closed)

Created:
5 years, 1 month ago by bradn
Modified:
5 years, 1 month ago
Reviewers:
titzer, aseemgarg
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

Increase strictness of asm type conversions. Only cast to integer with xor (closer to the spec which allows only ~~). Check type matching on the bitwise operations. Prevent mixing of types with the arthimetic operations. BUG= https://code.google.com/p/v8/issues/detail?id=4203 TEST=test-asm-validator R=titzer@chromium.org,aseemgarg@chromium.org LOG=N Committed: https://crrev.com/2cb3b9eaf3a6a151b7d99ffcec46313509c5249c Cr-Commit-Position: refs/heads/master@{#31764}

Patch Set 1 #

Patch Set 2 : merge #

Total comments: 2

Patch Set 3 : fix #

Patch Set 4 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -16 lines) Patch
M src/type-cache.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/typing-asm.h View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download
M src/typing-asm.cc View 1 2 3 6 chunks +36 lines, -14 lines 0 comments Download
M test/cctest/test-asm-validator.cc View 1 2 chunks +86 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
bradn
5 years, 1 month ago (2015-11-03 17:55:32 UTC) #3
titzer
https://codereview.chromium.org/1405383007/diff/40001/src/typing-asm.h File src/typing-asm.h (right): https://codereview.chromium.org/1405383007/diff/40001/src/typing-asm.h#newcode89 src/typing-asm.h:89: bool conversion); Maybe call this bool flag bitwise and ...
5 years, 1 month ago (2015-11-03 18:58:49 UTC) #4
bradn
https://codereview.chromium.org/1405383007/diff/40001/src/typing-asm.h File src/typing-asm.h (right): https://codereview.chromium.org/1405383007/diff/40001/src/typing-asm.h#newcode89 src/typing-asm.h:89: bool conversion); On 2015/11/03 18:58:49, titzer wrote: > Maybe ...
5 years, 1 month ago (2015-11-03 19:20:02 UTC) #5
titzer
On 2015/11/03 19:20:02, bradn wrote: > https://codereview.chromium.org/1405383007/diff/40001/src/typing-asm.h > File src/typing-asm.h (right): > > https://codereview.chromium.org/1405383007/diff/40001/src/typing-asm.h#newcode89 > ...
5 years, 1 month ago (2015-11-03 21:24:15 UTC) #6
bradn
ptal
5 years, 1 month ago (2015-11-03 22:02:18 UTC) #7
titzer
lgtm
5 years, 1 month ago (2015-11-03 22:03:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1405383007/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1405383007/80001
5 years, 1 month ago (2015-11-03 22:43:54 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 1 month ago (2015-11-03 22:46:45 UTC) #11
commit-bot: I haz the power
5 years, 1 month ago (2015-11-03 22:47:02 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2cb3b9eaf3a6a151b7d99ffcec46313509c5249c
Cr-Commit-Position: refs/heads/master@{#31764}

Powered by Google App Engine
This is Rietveld 408576698