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

Issue 335063005: Re-land "Clusterfuzz identified overflow check needed in dehoisting." (Closed)

Created:
6 years, 6 months ago by mvstanton
Modified:
6 years, 6 months ago
Reviewers:
danno, Jakob Kummerow
CC:
v8-dev
Visibility:
Public.

Description

Re-land "Clusterfuzz identified overflow check needed in dehoisting." BUG=380092 LOG=N R=jkummerow@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=21920

Patch Set 1 #

Patch Set 2 : Use safe numerics library for overflow checks. #

Total comments: 1

Patch Set 3 : Eliminated wrappers. #

Total comments: 6

Patch Set 4 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -28 lines) Patch
M src/hydrogen-dehoist.cc View 1 2 2 chunks +16 lines, -5 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 chunks +4 lines, -23 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 3 chunks +30 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-380092.js View 1 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
mvstanton
Hi Danno, PTAL, here is the dehoist overflow CL now with the use of the ...
6 years, 6 months ago (2014-06-18 14:02:11 UTC) #1
danno
https://codereview.chromium.org/335063005/diff/40001/src/utils.h File src/utils.h (right): https://codereview.chromium.org/335063005/diff/40001/src/utils.h#newcode256 src/utils.h:256: template<typename T> bool MultiplyOverflows(T x, T y) { Do ...
6 years, 6 months ago (2014-06-18 14:55:04 UTC) #2
Jakob Kummerow
I'm afraid I don't agree with these wrappers, because they require callers to perform the ...
6 years, 6 months ago (2014-06-18 14:57:32 UTC) #3
mvstanton
Thx yall. I have eliminated the ill-chosen wrappers. Jakob, are you saying I don't need ...
6 years, 6 months ago (2014-06-18 15:19:22 UTC) #4
Jakob Kummerow
> Jakob, are you saying I don't need to check the multiplication result for > ...
6 years, 6 months ago (2014-06-20 08:24:50 UTC) #5
mvstanton
thx for comments! Submitting... https://codereview.chromium.org/335063005/diff/80001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/335063005/diff/80001/src/hydrogen-instructions.cc#newcode3495 src/hydrogen-instructions.cc:3495: addition_result = addition_result + increase_by_value; ...
6 years, 6 months ago (2014-06-23 08:31:14 UTC) #6
mvstanton
6 years, 6 months ago (2014-06-23 09:09:14 UTC) #7
Message was sent while issue was closed.
Committed patchset #4 manually as r21920 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698