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

Issue 2000673002: Bugfix: Crankshaft array literals with incorrect values. (Closed)

Created:
4 years, 7 months ago by mvstanton
Modified:
4 years, 7 months ago
Reviewers:
Jakob Kummerow
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

Bugfix: Crankshaft array literals with incorrect values. In VisitArrayLiteral(), we stopped creating boilerplates during compilation. This created a bug, because we'd emit an HStoreKeyed with an ElementsKind based on the initial elements kind of the boilerplate. Since boilerplates may transition as part of elements transition feedback, this can lead to incorrect values (storing a smi in a double array). BUG=chromium:606021 Committed: https://crrev.com/b71f1cc2f4fe7ff0779cc3cf95f104c2bd2c5259 Cr-Commit-Position: refs/heads/master@{#36408}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -18 lines) Patch
M src/crankshaft/hydrogen.cc View 2 chunks +21 lines, -18 lines 0 comments Download
A test/mjsunit/regress/regress-606021.js View 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
mvstanton
Hi Jakob, Here is a fix for the recent bug. It took a while to ...
4 years, 7 months ago (2016-05-20 12:31:37 UTC) #2
Jakob Kummerow
LGTM, thanks!
4 years, 7 months ago (2016-05-20 12:42:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000673002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000673002/1
4 years, 7 months ago (2016-05-20 13:05:32 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-20 13:07:17 UTC) #6
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 13:08:03 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/b71f1cc2f4fe7ff0779cc3cf95f104c2bd2c5259
Cr-Commit-Position: refs/heads/master@{#36408}

Powered by Google App Engine
This is Rietveld 408576698