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

Issue 59023003: Generate TypedArrayInitialize builtin in hydrogen. (Closed)

Created:
7 years, 1 month ago by Dmitry Lomov (no reviews)
Modified:
7 years ago
CC:
v8-dev
Visibility:
Public.

Description

Generate TypedArrayInitialize builtin in hydrogen. R=danno@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=18059

Patch Set 1 #

Patch Set 2 : Handle offsets bigger than smis #

Patch Set 3 : Platform changes done #

Patch Set 4 : Rebased and updated #

Total comments: 18

Patch Set 5 : CR feedback #

Total comments: 2

Patch Set 6 : CR feedback + rebase #

Patch Set 7 : Better implementation of HAdd::New #

Total comments: 2

Patch Set 8 : Fixes #

Total comments: 20

Patch Set 9 : CR feedback + x64 codegen fix #

Patch Set 10 : Add -> AddUncasted (Danger, Will Robinson!) #

Total comments: 11

Patch Set 11 : CR feedback #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+338 lines, -47 lines) Patch
M src/arm/lithium-arm.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M src/hydrogen.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -0 lines 0 comments Download
M src/hydrogen.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +165 lines, -22 lines 0 comments Download
M src/hydrogen-instructions.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +45 lines, -1 line 2 comments Download
M src/hydrogen-instructions.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +20 lines, -0 lines 0 comments Download
M src/ia32/lithium-ia32.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +15 lines, -0 lines 0 comments Download
M src/property-details.h View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M src/runtime.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +16 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +3 lines, -16 lines 0 comments Download
M src/typedarray.js View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M src/x64/lithium-codegen-x64.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +20 lines, -7 lines 0 comments Download
M src/x64/lithium-x64.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +15 lines, -0 lines 0 comments Download
M test/cctest/test-representation.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M test/mjsunit/fuzz-natives-part1.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M test/mjsunit/fuzz-natives-part2.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M test/mjsunit/fuzz-natives-part3.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M test/mjsunit/fuzz-natives-part4.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Dmitry Lomov (no reviews)
Not a final CL (most notably missing platform changes required to support HAdd(kExternal, kInteger32)), but ...
7 years, 1 month ago (2013-11-11 17:56:50 UTC) #1
Dmitry Lomov (no reviews)
Ready for review.
7 years, 1 month ago (2013-11-12 11:53:33 UTC) #2
Dmitry Lomov (no reviews)
ping
7 years, 1 month ago (2013-11-15 18:35:19 UTC) #3
mvstanton
Hi Dmitry, first comments. Very nice, thx, --Michael https://codereview.chromium.org/59023003/diff/110001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/59023003/diff/110001/src/hydrogen.cc#newcode8065 src/hydrogen.cc:8065: ASSERT(arguments->at(1)->node_type() ...
7 years, 1 month ago (2013-11-18 10:44:49 UTC) #4
Dmitry Lomov (no reviews)
Comments addressed, PTAL https://codereview.chromium.org/59023003/diff/110001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/59023003/diff/110001/src/hydrogen.cc#newcode8065 src/hydrogen.cc:8065: ASSERT(arguments->at(1)->node_type() == AstNode::kLiteral); On 2013/11/18 10:44:49, ...
7 years, 1 month ago (2013-11-18 13:48:14 UTC) #5
danno
https://codereview.chromium.org/59023003/diff/110001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/59023003/diff/110001/src/hydrogen-instructions.h#newcode4627 src/hydrogen-instructions.h:4627: static HAdd* NewExternalPointerOffset( This doesn't really work well the ...
7 years, 1 month ago (2013-11-18 14:26:16 UTC) #6
Dmitry Lomov (no reviews)
Comments addressed, please take a look. I have rebased and refactored to avoid code duplication ...
7 years, 1 month ago (2013-11-18 16:43:53 UTC) #7
Dmitry Lomov (no reviews)
Updated patch with a "better" implementation of HAdd::New. I still have reservations. https://codereview.chromium.org/59023003/diff/260001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc ...
7 years, 1 month ago (2013-11-19 09:42:03 UTC) #8
danno
https://codereview.chromium.org/59023003/diff/260001/src/hydrogen-instructions.cc File src/hydrogen-instructions.cc (right): https://codereview.chromium.org/59023003/diff/260001/src/hydrogen-instructions.cc#newcode3788 src/hydrogen-instructions.cc:3788: if (!forced_representation.IsNone()) { On 2013/11/19 09:42:04, Dmitry Lomov (chromium) ...
7 years, 1 month ago (2013-11-20 09:45:24 UTC) #9
Dmitry Lomov (no reviews)
On 2013/11/20 09:45:24, danno wrote: > https://codereview.chromium.org/59023003/diff/260001/src/hydrogen-instructions.cc > File src/hydrogen-instructions.cc (right): > > https://codereview.chromium.org/59023003/diff/260001/src/hydrogen-instructions.cc#newcode3788 > ...
7 years, 1 month ago (2013-11-20 10:43:26 UTC) #10
danno
https://codereview.chromium.org/59023003/diff/380001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/59023003/diff/380001/src/hydrogen-instructions.h#newcode4751 src/hydrogen-instructions.h:4751: static HInstruction* New( nit: remove this whitespace change. https://codereview.chromium.org/59023003/diff/380001/src/hydrogen.cc ...
7 years, 1 month ago (2013-11-20 13:50:50 UTC) #11
Dmitry Lomov (no reviews)
Comments addressed + take a look at a change in lithium-codegen-x64.cc https://codereview.chromium.org/59023003/diff/380001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): ...
7 years, 1 month ago (2013-11-20 17:38:56 UTC) #12
danno
Getting very close... https://codereview.chromium.org/59023003/diff/510001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/59023003/diff/510001/src/hydrogen.cc#newcode8176 src/hydrogen.cc:8176: HObjectAccess::ForJSObjectOffset(JSTypedArray::kLengthOffset), Here an elsewhere, does it ...
7 years, 1 month ago (2013-11-21 20:44:32 UTC) #13
Dmitry Lomov (no reviews)
PTAL. Comments addressed, with reservations :) https://codereview.chromium.org/59023003/diff/510001/src/hydrogen.cc File src/hydrogen.cc (right): https://codereview.chromium.org/59023003/diff/510001/src/hydrogen.cc#newcode8176 src/hydrogen.cc:8176: HObjectAccess::ForJSObjectOffset(JSTypedArray::kLengthOffset), On 2013/11/21 ...
7 years, 1 month ago (2013-11-22 12:40:26 UTC) #14
danno
lgtm with nits https://codereview.chromium.org/59023003/diff/550001/src/hydrogen-instructions.h File src/hydrogen-instructions.h (right): https://codereview.chromium.org/59023003/diff/550001/src/hydrogen-instructions.h#newcode6107 src/hydrogen-instructions.h:6107: nit: perhaps only one line between ...
7 years ago (2013-11-25 11:44:12 UTC) #15
Dmitry Lomov (no reviews)
7 years ago (2013-11-25 14:42:00 UTC) #16
Message was sent while issue was closed.
Committed patchset #11 manually as r18059 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698