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

Issue 579723004: Introduce simplified BooleanToNumber operator. (Closed)

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

Description

Introduce simplified BooleanToNumber operator. R=titzer@chromium.org TEST=cctest/test-simplified-lowering/LowerBooleanToNumber Committed: https://code.google.com/p/v8/source/detail?r=24009

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -6 lines) Patch
M src/compiler/js-typed-lowering.cc View 1 chunk +5 lines, -1 line 0 comments Download
M src/compiler/opcodes.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/simplified-lowering.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M src/compiler/simplified-operator.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/simplified-operator.cc View 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/typer.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 6 chunks +8 lines, -5 lines 0 comments Download
M test/cctest/compiler/test-simplified-lowering.cc View 1 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Michael Starzinger
6 years, 3 months ago (2014-09-17 11:44:36 UTC) #1
titzer
https://codereview.chromium.org/579723004/diff/1/src/compiler/simplified-operator.cc File src/compiler/simplified-operator.cc (right): https://codereview.chromium.org/579723004/diff/1/src/compiler/simplified-operator.cc#newcode68 src/compiler/simplified-operator.cc:68: V(BooleanToNumber, Operator::kNoProperties, 1) \ Should be pure. And I ...
6 years, 3 months ago (2014-09-17 12:01:22 UTC) #2
Michael Starzinger
Addressed comments. PTAL. https://codereview.chromium.org/579723004/diff/1/src/compiler/simplified-operator.cc File src/compiler/simplified-operator.cc (right): https://codereview.chromium.org/579723004/diff/1/src/compiler/simplified-operator.cc#newcode68 src/compiler/simplified-operator.cc:68: V(BooleanToNumber, Operator::kNoProperties, 1) \ On 2014/09/17 ...
6 years, 3 months ago (2014-09-17 12:43:28 UTC) #3
titzer
lgtm
6 years, 3 months ago (2014-09-17 14:16:05 UTC) #4
Michael Starzinger
6 years, 3 months ago (2014-09-17 14:47:38 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 24009 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698