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

Issue 2671203003: [turbofan] Mark {JSCreate} as potentially throwing. (Closed)

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

Description

[turbofan] Mark {JSCreate} as potentially throwing. This correctly marks the {JSCreate} operator as potentially throwing, since it might trigger a property access of the 'prototype' property during instantiation. This is observable, can throw (not kNoThrow), might have side-effects (not kNoWrite), or even trigger a lazy deopt event (not kNoDeopt). The inlining logic has been adapted to wire up control projections accordingly. Note that this does not yet take care of the "after" frame-state which is associated with the {JSCreate} node introduced by the inliner. We still might re-evaluate the property access upon lazy deoptimization. R=bmeurer@chromium.org TEST=mjsunit/regress/regress-5638 BUG=v8:5638 Review-Url: https://codereview.chromium.org/2671203003 Cr-Commit-Position: refs/heads/master@{#42981} Committed: https://chromium.googlesource.com/v8/v8/+/e34f53662055c57f15f03b375cb59ea8772596fe

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -7 lines) Patch
M src/compiler/js-create-lowering.cc View 3 chunks +3 lines, -1 line 0 comments Download
M src/compiler/js-inlining.cc View 1 chunk +5 lines, -1 line 0 comments Download
M src/compiler/js-operator.cc View 1 chunk +1 line, -1 line 0 comments Download
A test/mjsunit/regress/regress-5638.js View 1 chunk +32 lines, -0 lines 0 comments Download
M test/unittests/compiler/js-create-lowering-unittest.cc View 1 chunk +8 lines, -3 lines 0 comments Download
M test/unittests/compiler/js-operator-unittest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (11 generated)
Michael Starzinger
3 years, 10 months ago (2017-02-06 16:35:23 UTC) #9
Benedikt Meurer
Thanks, LGTM!
3 years, 10 months ago (2017-02-06 17:56:10 UTC) #10
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/2671203003/1
3 years, 10 months ago (2017-02-07 08:59:01 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 09:00:23 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/e34f53662055c57f15f03b375cb59ea8772...

Powered by Google App Engine
This is Rietveld 408576698