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

Issue 1374683002: [turbofan] Make Strict(Not)Equal, TypeOf, ToBoolean, UnaryNot effectful. (Closed)

Created:
5 years, 2 months ago by Jarin
Modified:
5 years, 2 months ago
Reviewers:
Benedikt Meurer
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Make Strict(Not)Equal, TypeOf, ToBoolean, UnaryNot effectful. This is necessary because these operators can read heap (equality can actually write heap when flattening strings). BUG=v8:4446 LOG=n Committed: https://crrev.com/d06930fc4b19a759972950e81d55eb93d9a572c0 Cr-Commit-Position: refs/heads/master@{#31005}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove the no-write property from Strict(Not)Equal #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -62 lines) Patch
M src/compiler/js-generic-lowering.cc View 1 1 chunk +11 lines, -9 lines 0 comments Download
M src/compiler/js-operator.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M src/compiler/js-typed-lowering.cc View 6 chunks +10 lines, -2 lines 0 comments Download
M test/cctest/compiler/test-js-typed-lowering.cc View 1 chunk +6 lines, -8 lines 0 comments Download
M test/unittests/compiler/js-intrinsic-lowering-unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M test/unittests/compiler/js-operator-unittest.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
M test/unittests/compiler/js-typed-lowering-unittest.cc View 1 16 chunks +33 lines, -31 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Jarin
Could you take a look, please?
5 years, 2 months ago (2015-09-28 10:53:55 UTC) #2
Benedikt Meurer
https://codereview.chromium.org/1374683002/diff/1/src/compiler/js-operator.cc File src/compiler/js-operator.cc (right): https://codereview.chromium.org/1374683002/diff/1/src/compiler/js-operator.cc#newcode457 src/compiler/js-operator.cc:457: V(StrictEqual, Operator::kEliminatable, 2, 1) \ kNoWrite is wrong here, ...
5 years, 2 months ago (2015-09-28 11:42:48 UTC) #3
Jarin
https://codereview.chromium.org/1374683002/diff/1/src/compiler/js-operator.cc File src/compiler/js-operator.cc (right): https://codereview.chromium.org/1374683002/diff/1/src/compiler/js-operator.cc#newcode457 src/compiler/js-operator.cc:457: V(StrictEqual, Operator::kEliminatable, 2, 1) \ On 2015/09/28 11:42:48, Benedikt ...
5 years, 2 months ago (2015-09-28 12:05:34 UTC) #4
Benedikt Meurer
Please add a better explanation to the CL description (and maybe even a tracking bug ...
5 years, 2 months ago (2015-09-28 14:21:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1374683002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1374683002/20001
5 years, 2 months ago (2015-09-29 13:28:12 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-09-29 13:51:33 UTC) #8
commit-bot: I haz the power
5 years, 2 months ago (2015-09-29 13:51:45 UTC) #9
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/d06930fc4b19a759972950e81d55eb93d9a572c0
Cr-Commit-Position: refs/heads/master@{#31005}

Powered by Google App Engine
This is Rietveld 408576698