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

Issue 24521002: Special handle for mul/div minus one when kAllUsesTruncatingToInt32 (Closed)

Created:
7 years, 2 months ago by weiliang.lin2
Modified:
7 years, 2 months ago
CC:
v8-dev
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Special handle for mul/div minus one when kAllUsesTruncatingToInt32 BUG= R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16943

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Total comments: 4

Patch Set 3 : fix assert statement #

Patch Set 4 : remove unnecessary ASSERT statement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -25 lines) Patch
M src/hydrogen-instructions.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 6 chunks +28 lines, -11 lines 0 comments Download
A + test/mjsunit/div-mul-minus-one.js View 1 chunk +19 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
weiliang.lin2
@sven, this CL is a workaround fix for https://code.google.com/p/v8/issues/detail?id=2898 @Toon, I move "HasNonSmiUse()" before observed_output_representation_ ...
7 years, 2 months ago (2013-09-25 06:35:47 UTC) #1
Toon Verwaest
Lgtm once nits are addressed. https://codereview.chromium.org/24521002/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/24521002/diff/1/src/hydrogen-instructions.cc#newcode1644 src/hydrogen-instructions.cc:1644: // Special handle for ...
7 years, 2 months ago (2013-09-25 07:52:43 UTC) #2
weiliang.lin2
Hi Toon, Address comments。 Thanks a lot~ https://codereview.chromium.org/24521002/diff/1/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/24521002/diff/1/src/hydrogen-instructions.cc#newcode1644 src/hydrogen-instructions.cc:1644: // Special ...
7 years, 2 months ago (2013-09-25 08:02:44 UTC) #3
Toon Verwaest
One more comment. https://codereview.chromium.org/24521002/diff/6001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/24521002/diff/6001/src/hydrogen-instructions.cc#newcode1242 src/hydrogen-instructions.cc:1242: ASSERT(right().IsSmiOrInteger32()); This should be left()->representation().IsSmiOrInteger32().
7 years, 2 months ago (2013-09-25 08:12:22 UTC) #4
Toon Verwaest
https://codereview.chromium.org/24521002/diff/6001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/24521002/diff/6001/src/hydrogen-instructions.cc#newcode1242 src/hydrogen-instructions.cc:1242: ASSERT(right().IsSmiOrInteger32()); On 2013/09/25 08:12:22, Toon Verwaest wrote: > This ...
7 years, 2 months ago (2013-09-25 08:13:24 UTC) #5
weiliang.lin2
https://codereview.chromium.org/24521002/diff/6001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/24521002/diff/6001/src/hydrogen-instructions.cc#newcode1242 src/hydrogen-instructions.cc:1242: ASSERT(right().IsSmiOrInteger32()); On 2013/09/25 08:13:24, Toon Verwaest wrote: > On ...
7 years, 2 months ago (2013-09-25 08:23:03 UTC) #6
Toon Verwaest
The ASSERT still fails in debug mode however. Please run make check before submitting patches ...
7 years, 2 months ago (2013-09-25 08:38:41 UTC) #7
weiliang.lin2
On 2013/09/25 08:38:41, Toon Verwaest wrote: > The ASSERT still fails in debug mode however. ...
7 years, 2 months ago (2013-09-25 10:33:46 UTC) #8
Toon Verwaest
7 years, 2 months ago (2013-09-25 15:10:57 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 manually as r16943 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698