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

Issue 2739093002: [turbofan] BitcastWordToTagged must not be pure. (Closed)

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

Description

[turbofan] BitcastWordToTagged must not be pure. The BitcastWordToTagged operator is used for bump pointer allocation to construct the actual HeapObject pointer. The input to this operator is a naked pointer (derived from the allocation top). If this input value is live across an allocation, then the resulting tagged pointer is invalid because the GC might have scavenged new space in the meantime. That means we must not allow Node splitting (in the Scheduler) for these instructions, as that could extend the live range of the naked pointer input across arbitrary code. As such, this operator must not be marked as pure. R=jarin@chromium.org BUG=v8:6059 Review-Url: https://codereview.chromium.org/2739093002 Cr-Commit-Position: refs/heads/master@{#43683} Committed: https://chromium.googlesource.com/v8/v8/+/64fbb3041fe835784a7c7640d75712b39f62de18

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -1 line) Patch
M src/compiler/machine-operator.cc View 3 chunks +17 lines, -1 line 0 comments Download

Messages

Total messages: 12 (6 generated)
Benedikt Meurer
3 years, 9 months ago (2017-03-09 05:27:14 UTC) #1
Jarin
lgtm
3 years, 9 months ago (2017-03-09 05:31:15 UTC) #4
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/2739093002/1
3 years, 9 months ago (2017-03-09 05:31:39 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/v8/v8/+/64fbb3041fe835784a7c7640d75712b39f62de18
3 years, 9 months ago (2017-03-09 05:51:53 UTC) #10
Michael Achenbach
Any chance for a regression test?
3 years, 9 months ago (2017-03-09 12:33:25 UTC) #11
Benedikt Meurer
3 years, 9 months ago (2017-03-09 12:34:11 UTC) #12
Message was sent while issue was closed.
We tried for like 6 hours, but didn't succeed. We have to live with the
regression test via WebGL conformance suite for now. :-(

Powered by Google App Engine
This is Rietveld 408576698