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

Issue 23710070: Allow control intructions to have side effects. (Closed)

Created:
7 years, 3 months ago by oliv
Modified:
7 years, 3 months ago
Reviewers:
titzer, Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Allow control intructions to have side effects. As a first application convert HCompareGeneric to a control Instruction, thus avoid materializing a boolean result value. BUG= R=titzer@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=16902

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Port to x64 and arm. #

Patch Set 3 : Address review #

Patch Set 4 : Add missing test case #

Patch Set 5 : fix safepoint id #

Patch Set 6 : extend test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+410 lines, -86 lines) Patch
M src/arm/lithium-arm.h View 1 2 3 4 3 chunks +6 lines, -5 lines 0 comments Download
M src/arm/lithium-arm.cc View 1 2 3 4 3 chunks +13 lines, -7 lines 0 comments Download
M src/arm/lithium-codegen-arm.cc View 1 2 3 4 5 2 chunks +2 lines, -7 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 4 chunks +7 lines, -8 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 7 chunks +84 lines, -17 lines 0 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 3 chunks +22 lines, -3 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 2 3 4 1 chunk +2 lines, -8 lines 0 comments Download
M src/ia32/lithium-ia32.h View 1 2 3 4 2 chunks +6 lines, -5 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 3 chunks +13 lines, -7 lines 0 comments Download
M src/utils.h View 1 2 3 4 2 chunks +6 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 2 chunks +2 lines, -7 lines 0 comments Download
M src/x64/lithium-x64.h View 1 2 3 4 3 chunks +6 lines, -5 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 3 chunks +15 lines, -7 lines 0 comments Download
A test/mjsunit/compare-generic.js View 1 2 3 4 5 1 chunk +226 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
oliv
7 years, 3 months ago (2013-09-19 15:47:49 UTC) #1
titzer
On 2013/09/19 15:47:49, oliv wrote: What about the other 3 platforms?
7 years, 3 months ago (2013-09-19 16:24:13 UTC) #2
titzer
https://codereview.chromium.org/23710070/diff/13001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/23710070/diff/13001/src/hydrogen-instructions.cc#newcode2847 src/hydrogen-instructions.cc:2847: if (CheckFlag(kCanOverflow)) stream->Add(" !"); maybe [can-overflow] instead of a ...
7 years, 3 months ago (2013-09-19 16:24:27 UTC) #3
oliv
+ Ported to arm and x64 https://codereview.chromium.org/23710070/diff/13001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/23710070/diff/13001/src/hydrogen-instructions.cc#newcode2847 src/hydrogen-instructions.cc:2847: if (CheckFlag(kCanOverflow)) stream->Add(" ...
7 years, 3 months ago (2013-09-19 16:38:00 UTC) #4
Sven Panne
https://codereview.chromium.org/23710070/diff/13001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/23710070/diff/13001/src/hydrogen-instructions.cc#newcode2847 src/hydrogen-instructions.cc:2847: if (CheckFlag(kCanOverflow)) stream->Add(" !"); On 2013/09/19 16:38:00, oliv wrote: ...
7 years, 3 months ago (2013-09-20 06:36:30 UTC) #5
titzer
On 2013/09/20 06:36:30, Sven Panne wrote: > https://codereview.chromium.org/23710070/diff/13001/src/hydrogen-instructions.cc > File src/hydrogen-instructions.cc (right): > > https://codereview.chromium.org/23710070/diff/13001/src/hydrogen-instructions.cc#newcode2847 ...
7 years, 3 months ago (2013-09-20 12:17:11 UTC) #6
oliv
7 years, 3 months ago (2013-09-23 16:56:54 UTC) #7
Message was sent while issue was closed.
Committed patchset #6 manually as r16902.

Powered by Google App Engine
This is Rietveld 408576698