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

Issue 626383003: Fix representation of HLoadRoot. (Closed)

Created:
6 years, 2 months ago by ulan
Modified:
6 years, 2 months ago
Reviewers:
Jakob Kummerow
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Fix representation of HLoadRoot. HLoadRoot doesn't participate in representation inference, and its represenation is not Tagged at code generation, which leads to incorrect pointer map assignment and eventual stale pointer access after GC. BUG=chromium:419036 LOG=Y R=jkummerow@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24410

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address offline comment #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
M src/hydrogen-instructions.h View 1 2 2 chunks +6 lines, -3 lines 0 comments Download
M src/hydrogen-representation-changes.cc View 1 chunk +11 lines, -1 line 0 comments Download

Messages

Total messages: 5 (1 generated)
ulan
PTAL
6 years, 2 months ago (2014-10-06 11:15:45 UTC) #2
ulan
https://codereview.chromium.org/626383003/diff/1/src/hydrogen-representation-changes.cc File src/hydrogen-representation-changes.cc (right): https://codereview.chromium.org/626383003/diff/1/src/hydrogen-representation-changes.cc#newcode72 src/hydrogen-representation-changes.cc:72: DCHECK(req.IsNone()); Without the HLoadRoot representation fix this assert triggers ...
6 years, 2 months ago (2014-10-06 11:17:17 UTC) #3
Jakob Kummerow
LGTM. Nice catch! As discussed, the verification pass you're adding won't catch all possible cases ...
6 years, 2 months ago (2014-10-06 11:30:00 UTC) #4
ulan
6 years, 2 months ago (2014-10-06 11:42:22 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as 24410 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698