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

Issue 646483003: [turbofan] Fix typed lowering of typed array loads/stores. (Closed)

Created:
6 years, 2 months ago by Benedikt Meurer
Modified:
6 years, 2 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

[turbofan] Fix typed lowering of typed array loads/stores. R=jarin@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=24514

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix win64. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -32 lines) Patch
M src/compiler/js-typed-lowering.cc View 1 2 chunks +36 lines, -31 lines 0 comments Download
M src/factory.cc View 2 chunks +16 lines, -1 line 1 comment Download

Messages

Total messages: 8 (1 generated)
Benedikt Meurer
6 years, 2 months ago (2014-10-10 07:50:56 UTC) #1
Jarin
lgtm. https://codereview.chromium.org/646483003/diff/1/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/646483003/diff/1/src/factory.cc#newcode1786 src/factory.cc:1786: NewNumberFromSize(length * GetExternalArrayElementSize(type)); Why cannot you say array->element_size() ...
6 years, 2 months ago (2014-10-10 08:08:37 UTC) #2
Benedikt Meurer
https://codereview.chromium.org/646483003/diff/1/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/646483003/diff/1/src/factory.cc#newcode1786 src/factory.cc:1786: NewNumberFromSize(length * GetExternalArrayElementSize(type)); Would be fragile to call element_size ...
6 years, 2 months ago (2014-10-10 08:10:02 UTC) #3
Benedikt Meurer
Committed patchset #2 (id:60001) manually as 24514 (presubmit successful).
6 years, 2 months ago (2014-10-10 08:10:39 UTC) #4
Dmitry Lomov (no reviews)
https://codereview.chromium.org/646483003/diff/60001/src/factory.cc File src/factory.cc (right): https://codereview.chromium.org/646483003/diff/60001/src/factory.cc#newcode1785 src/factory.cc:1785: Handle<Object> byte_length_handle = DBC: why we have this Factory::NewJSTypedArray? ...
6 years, 2 months ago (2014-10-10 08:43:02 UTC) #6
Benedikt Meurer
It's currently used in tests only. I had a hard time collecting the bits and ...
6 years, 2 months ago (2014-10-10 10:22:46 UTC) #7
Dmitry Lomov (no reviews)
6 years, 2 months ago (2014-10-10 11:24:20 UTC) #8
Message was sent while issue was closed.
On 2014/10/10 10:22:46, Benedikt Meurer wrote:
> It's currently used in tests only. I had a hard time collecting the bits and
> pieces necessary to simply create a JSTypedArray. Feel free to improve the
> method.

Tests can probably use our public API, or is there some issue with that?

Powered by Google App Engine
This is Rietveld 408576698