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

Issue 17334004: Bugfix in hydrogen array literal code generation. (Closed)

Created:
7 years, 6 months ago by mvstanton
Modified:
7 years, 6 months ago
Reviewers:
Yang
CC:
v8-dev
Visibility:
Public.

Description

Bugfix in hydrogen array literal code generation. If an array literal contains some non-constant elements, is of type SMI, and then the boilerplate transitions to double or fast sometime after we've crankshafted the code, then we could incorrectly store smis in double arrays. BUG= R=yangguo@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15207

Patch Set 1 #

Patch Set 2 : Better approach: deopt in case of elements kind change #

Patch Set 3 : Nits #

Patch Set 4 : Review comments #

Total comments: 2

Patch Set 5 : Nit addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -38 lines) Patch
M src/hydrogen.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
A + test/mjsunit/array-literal-feedback.js View 1 1 chunk +23 lines, -38 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
mvstanton
Hi Yang, here is the change we discussed and a new test file. There is ...
7 years, 6 months ago (2013-06-19 12:32:02 UTC) #1
Yang
On 2013/06/19 12:32:02, mvstanton wrote: > Hi Yang, here is the change we discussed and ...
7 years, 6 months ago (2013-06-19 12:35:05 UTC) #2
Yang
On 2013/06/19 12:35:05, Yang wrote: > On 2013/06/19 12:32:02, mvstanton wrote: > > Hi Yang, ...
7 years, 6 months ago (2013-06-19 13:40:16 UTC) #3
Yang
... and here's the nit. https://codereview.chromium.org/17334004/diff/9001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/17334004/diff/9001/src/hydrogen.cc#newcode6068 src/hydrogen.cc:6068: // De-opt if elements ...
7 years, 6 months ago (2013-06-19 13:40:30 UTC) #4
mvstanton
right on, thx, checking in.. https://codereview.chromium.org/17334004/diff/9001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/17334004/diff/9001/src/hydrogen.cc#newcode6068 src/hydrogen.cc:6068: // De-opt if elements ...
7 years, 6 months ago (2013-06-19 13:46:51 UTC) #5
mvstanton
7 years, 6 months ago (2013-06-19 13:48:57 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r15207 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698