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

Issue 1102923002: [strong] Disallow implicit conversions for bitwise ops, shifts (Closed)

Created:
5 years, 8 months ago by conradw
Modified:
5 years, 7 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[strong] Disallow implicit conversions for bitwise ops, shifts See https://codereview.chromium.org/1092353002/ Due to parser rewrites, also implements restrictions for unary ~. Still to come, implementing restrictions for binary + and comparison. BUG=v8:3956 LOG=N Committed: https://crrev.com/6988aec61f071a1caec96abae1cf39353a234455 Cr-Commit-Position: refs/heads/master@{#28104}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : test formatting #

Patch Set 4 : more test formatting #

Total comments: 6

Patch Set 5 : cl feedback #

Patch Set 6 : cl feedback cont #

Patch Set 7 : offline feedback on js test + rebase #

Patch Set 8 : missed one function #

Total comments: 2

Patch Set 9 : cl feedback 2 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+311 lines, -122 lines) Patch
M src/builtins.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 1 2 3 4 5 6 3 chunks +12 lines, -3 lines 0 comments Download
M src/ic/ic.cc View 1 2 3 4 5 6 1 chunk +6 lines, -6 lines 0 comments Download
M src/runtime.js View 1 6 chunks +53 lines, -0 lines 0 comments Download
M test/mjsunit/strong/implicit-conversions.js View 1 2 3 4 5 6 7 8 4 chunks +182 lines, -73 lines 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 2 3 4 5 6 6 chunks +52 lines, -40 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
conradw
5 years, 8 months ago (2015-04-24 14:52:58 UTC) #2
conradw
PTAL
5 years, 8 months ago (2015-04-24 14:53:18 UTC) #3
arv (Not doing code reviews)
No cctests? Your CL descriptions mentions unary + but not unary -. Fine to split ...
5 years, 8 months ago (2015-04-24 15:39:43 UTC) #4
conradw
The + in the CL description was meant to refer to binary +, instead of ...
5 years, 7 months ago (2015-04-27 11:20:47 UTC) #5
arv (Not doing code reviews)
LGTM Do you want to add tests for *=, /= etc? https://codereview.chromium.org/1102923002/diff/140001/test/mjsunit/strong/implicit-conversions.js File test/mjsunit/strong/implicit-conversions.js (right): ...
5 years, 7 months ago (2015-04-27 14:02:49 UTC) #7
titzer
On 2015/04/27 14:02:49, arv wrote: > LGTM > > Do you want to add tests ...
5 years, 7 months ago (2015-04-27 14:06:46 UTC) #8
rossberg
On 2015/04/27 14:02:49, arv wrote: > Do you want to add tests for *=, /= ...
5 years, 7 months ago (2015-04-27 14:32:19 UTC) #9
conradw
On 2015/04/27 14:32:19, rossberg wrote: > On 2015/04/27 14:02:49, arv wrote: > > Do you ...
5 years, 7 months ago (2015-04-27 20:35:15 UTC) #10
conradw
Added the extra test cases, bearing in mind my comment about ++,-- @mstarzinger, are the ...
5 years, 7 months ago (2015-04-27 20:41:57 UTC) #12
rossberg
lgtm
5 years, 7 months ago (2015-04-27 21:17:17 UTC) #13
Michael Starzinger
The TurboFan changes LGTM, no comment on the rest.
5 years, 7 months ago (2015-04-28 11:07:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1102923002/160001
5 years, 7 months ago (2015-04-28 11:10:29 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 7 months ago (2015-04-28 11:20:17 UTC) #18
commit-bot: I haz the power
5 years, 7 months ago (2015-04-28 11:20:34 UTC) #19
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/6988aec61f071a1caec96abae1cf39353a234455
Cr-Commit-Position: refs/heads/master@{#28104}

Powered by Google App Engine
This is Rietveld 408576698