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

Issue 2890363002: Fix deoptmization of inlined TF InstanceOf to call ToBoolean (Closed)

Created:
3 years, 7 months ago by danno
Modified:
3 years, 6 months ago
Reviewers:
Michael Starzinger
CC:
v8-reviews_googlegroups.com, Benedikt Meurer
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Fix deoptmization of inlined TF instanceOf to call ToBoolean This CL leverages and extends the deopt-to-stub mechanisms previously introduced to support deopting from CSA-built builtins (e.g. Array.prototype.forEach). BUG=v8:6373 LOG=N Review-Url: https://codereview.chromium.org/2890363002 Cr-Commit-Position: refs/heads/master@{#46144} Committed: https://chromium.googlesource.com/v8/v8/+/e2544f6c03cb6725328036192a64fd80fad0ff1d

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Add descriptors #

Patch Set 4 : Fix nullptr deref #

Patch Set 5 : Make it work a gain #

Patch Set 6 : Add test flag #

Total comments: 12

Patch Set 7 : Review feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+98 lines, -12 lines) Patch
M src/builtins/builtins-conversion-gen.cc View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
M src/builtins/builtins-definitions.h View 1 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/compiler/frame-states.cc View 1 2 3 4 5 6 3 chunks +11 lines, -7 lines 0 comments Download
M src/compiler/js-native-context-specialization.cc View 1 2 3 4 5 6 2 chunks +12 lines, -0 lines 0 comments Download
M src/deoptimizer.cc View 1 2 3 4 4 chunks +13 lines, -5 lines 0 comments Download
M src/interface-descriptors.h View 1 2 3 4 5 6 2 chunks +9 lines, -0 lines 0 comments Download
M src/interface-descriptors.cc View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-6373.js View 1 2 3 4 5 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (41 generated)
danno
PTAL
3 years, 6 months ago (2017-06-22 12:57:15 UTC) #34
Michael Starzinger
Looking good. Just minor comments. https://codereview.chromium.org/2890363002/diff/160001/src/builtins/builtins-conversion-gen.cc File src/builtins/builtins-conversion-gen.cc (right): https://codereview.chromium.org/2890363002/diff/160001/src/builtins/builtins-conversion-gen.cc#newcode260 src/builtins/builtins-conversion-gen.cc:260: // Requires parameter on ...
3 years, 6 months ago (2017-06-22 14:16:12 UTC) #36
danno
Feedback addressed, please take another look. https://codereview.chromium.org/2890363002/diff/160001/src/builtins/builtins-conversion-gen.cc File src/builtins/builtins-conversion-gen.cc (right): https://codereview.chromium.org/2890363002/diff/160001/src/builtins/builtins-conversion-gen.cc#newcode260 src/builtins/builtins-conversion-gen.cc:260: // Requires parameter ...
3 years, 6 months ago (2017-06-22 15:04:01 UTC) #39
Michael Starzinger
LGTM. Cool stuff. Thanks!
3 years, 6 months ago (2017-06-22 15:39:47 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2890363002/180001
3 years, 6 months ago (2017-06-22 15:42:12 UTC) #44
commit-bot: I haz the power
3 years, 6 months ago (2017-06-22 15:43:43 UTC) #47
Message was sent while issue was closed.
Committed patchset #7 (id:180001) as
https://chromium.googlesource.com/v8/v8/+/e2544f6c03cb6725328036192a64fd80fad...

Powered by Google App Engine
This is Rietveld 408576698