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

Issue 651843004: Add Terminate operator. (Closed)

Created:
6 years, 2 months ago by titzer
Modified:
6 years, 2 months ago
Reviewers:
Michael Starzinger
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Add Terminate operator. Terminate is need for non-terminating loops (NTLs) that can appear after optimizing control flow. It gathers the control and effect(s) from a NTL and connects them to end so that they are not dead-code removed. R=mstarzinger@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=24812

Patch Set 1 #

Patch Set 2 : Fix the output count of the Terminate operator. #

Patch Set 3 : Add test case for scheduler. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -9 lines) Patch
M src/compiler/common-operator.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/common-operator.cc View 1 1 chunk +6 lines, -0 lines 1 comment Download
M src/compiler/instruction-selector.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/opcodes.h View 1 chunk +8 lines, -7 lines 0 comments Download
M src/compiler/operator-properties-inl.h View 2 chunks +4 lines, -2 lines 0 comments Download
M src/compiler/verifier.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-scheduler.cc View 1 2 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
titzer
6 years, 2 months ago (2014-10-22 15:04:09 UTC) #1
titzer
On 2014/10/22 15:04:09, titzer wrote: Added test, PTAL
6 years, 2 months ago (2014-10-22 16:56:18 UTC) #2
Michael Starzinger
LGTM with one comment. https://codereview.chromium.org/651843004/diff/40001/src/compiler/common-operator.cc File src/compiler/common-operator.cc (right): https://codereview.chromium.org/651843004/diff/40001/src/compiler/common-operator.cc#newcode158 src/compiler/common-operator.cc:158: const Operator* CommonOperatorBuilder::Terminate(int effects) { ...
6 years, 2 months ago (2014-10-22 17:07:27 UTC) #3
titzer
On 2014/10/22 17:07:27, Michael Starzinger wrote: > LGTM with one comment. > > https://codereview.chromium.org/651843004/diff/40001/src/compiler/common-operator.cc > ...
6 years, 2 months ago (2014-10-22 17:15:15 UTC) #4
titzer
6 years, 2 months ago (2014-10-22 17:15:51 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as 24812 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698