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

Issue 533103002: Fix typed lowering of JSToBoolean on number inputs. (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

Fix typed lowering of JSToBoolean on number inputs. R=titzer@chromium.org TEST=cctest/test-js-typed-lowering/JSToBoolean_replacement Committed: https://code.google.com/p/v8/source/detail?r=23642

Patch Set 1 #

Patch Set 2 : Extend test to cover this case. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -5 lines) Patch
M src/compiler/js-typed-lowering.cc View 1 chunk +1 line, -4 lines 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 1 2 chunks +4 lines, -1 line 2 comments Download

Messages

Total messages: 6 (0 generated)
Michael Starzinger
6 years, 3 months ago (2014-09-03 09:54:31 UTC) #1
titzer
Can I get a TODO(titzer) in the test file to test this case?
6 years, 3 months ago (2014-09-03 09:59:16 UTC) #2
Michael Starzinger
Nope, but you can get the test. :)
6 years, 3 months ago (2014-09-03 11:21:34 UTC) #3
titzer
lgtm with comment https://codereview.chromium.org/533103002/diff/20001/test/cctest/compiler/test-js-typed-lowering.cc File test/cctest/compiler/test-js-typed-lowering.cc (right): https://codereview.chromium.org/533103002/diff/20001/test/cctest/compiler/test-js-typed-lowering.cc#newcode526 test/cctest/compiler/test-js-typed-lowering.cc:526: CHECK_EQ(IrOpcode::kBooleanNot, r->opcode()); Check it's actually BooleanNot(NumberEqual(x, ...
6 years, 3 months ago (2014-09-03 11:24:49 UTC) #4
Michael Starzinger
https://codereview.chromium.org/533103002/diff/20001/test/cctest/compiler/test-js-typed-lowering.cc File test/cctest/compiler/test-js-typed-lowering.cc (right): https://codereview.chromium.org/533103002/diff/20001/test/cctest/compiler/test-js-typed-lowering.cc#newcode526 test/cctest/compiler/test-js-typed-lowering.cc:526: CHECK_EQ(IrOpcode::kBooleanNot, r->opcode()); On 2014/09/03 11:24:49, titzer wrote: > Check ...
6 years, 3 months ago (2014-09-03 11:33:00 UTC) #5
Michael Starzinger
6 years, 3 months ago (2014-09-03 11:35:29 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as 23642 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698