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

Issue 16341004: Fix for bug 245480. Calling new Array(a) with a single argument could (Closed)

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

Description

Fix for bug 245480. Calling new Array(a) with a single argument could result in creating a holey array with a packed elements kind. BUG=245480 R=verwaest@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=15095

Patch Set 1 #

Total comments: 6

Patch Set 2 : Comments #

Patch Set 3 : Removed an unnecessary function #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -33 lines) Patch
M src/arm/lithium-codegen-arm.cc View 1 chunk +18 lines, -0 lines 0 comments Download
M src/ia32/lithium-codegen-ia32.cc View 1 chunk +18 lines, -0 lines 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 chunk +18 lines, -0 lines 0 comments Download
A + test/mjsunit/regress/regress-crbug-245480.js View 1 2 1 chunk +47 lines, -33 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
mvstanton
Here is the fix we discussed, thanks for the look.
7 years, 6 months ago (2013-06-12 17:17:47 UTC) #1
Toon Verwaest
Added comments https://codereview.chromium.org/16341004/diff/1/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): https://codereview.chromium.org/16341004/diff/1/src/ia32/lithium-codegen-ia32.cc#newcode4219 src/ia32/lithium-codegen-ia32.cc:4219: __ mov(ebx, instr->hydrogen()->property_cell()); ebx and ecx below ...
7 years, 6 months ago (2013-06-12 17:26:01 UTC) #2
Toon Verwaest
lgtm
7 years, 6 months ago (2013-06-12 17:57:50 UTC) #3
mvstanton
comments. https://codereview.chromium.org/16341004/diff/1/src/ia32/lithium-codegen-ia32.cc File src/ia32/lithium-codegen-ia32.cc (right): https://codereview.chromium.org/16341004/diff/1/src/ia32/lithium-codegen-ia32.cc#newcode4219 src/ia32/lithium-codegen-ia32.cc:4219: __ mov(ebx, instr->hydrogen()->property_cell()); On 2013/06/12 17:26:01, Toon Verwaest ...
7 years, 6 months ago (2013-06-12 17:58:12 UTC) #4
mvstanton
7 years, 6 months ago (2013-06-12 18:04:23 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r15095 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698